mirror of
https://github.com/esphome/esphome.git
synced 2025-09-22 13:12:22 +01:00
[substitutions] add missing safe globals tests (#10814)
This commit is contained in:
@@ -22,3 +22,6 @@ test_list:
|
|||||||
- The pin number is 18
|
- The pin number is 18
|
||||||
- The square root is: 5.0
|
- The square root is: 5.0
|
||||||
- The number is 80
|
- The number is 80
|
||||||
|
- ord("a") = 97
|
||||||
|
- chr(97) = a
|
||||||
|
- len([1,2,3]) = 3
|
||||||
|
@@ -20,3 +20,6 @@ test_list:
|
|||||||
- The pin number is ${pin.number}
|
- The pin number is ${pin.number}
|
||||||
- The square root is: ${math.sqrt(area)}
|
- The square root is: ${math.sqrt(area)}
|
||||||
- The number is ${var${numberOne} + 1}
|
- The number is ${var${numberOne} + 1}
|
||||||
|
- ord("a") = ${ ord("a") }
|
||||||
|
- chr(97) = ${ chr(97) }
|
||||||
|
- len([1,2,3]) = ${ len([1,2,3]) }
|
||||||
|
Reference in New Issue
Block a user