Skip to content

Commit 6368b4f

Browse files
author
Rajesh Jinaga
committed
Fix indexer expression as an argument to a function, issue #35, add $str function
1 parent 79aca8a commit 6368b4f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/Simpleflow.Tests/Functions/StringFunctionsTest.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ public void CheckContains()
1616
// Arrange
1717
var script =
1818
@"
19+
let v = $str(value: 2)
20+
let v1 = $str(value: false)
21+
let v2 = $str(value: 'as')
22+
let v3 = $str(value: 2.3)
1923
2024
let hasValue = $Contains(input: arg.Text, value: ""here"" )
2125
let hasValue2 = $Contains(input: arg.Text, value: ""no"" )

0 commit comments

Comments
 (0)