We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d24529f commit 463e277Copy full SHA for 463e277
samples/distro-examples/tests/strings.bas
@@ -209,4 +209,9 @@ for t in number_test
209
if (t[1] != bin(t[0])) then throw "err: bin(" + str(t[0]) + ") <> " + t[1]
210
if (t[2] != oct(t[0])) then throw "err: oct(" + str(t[0]) + ") <> " + t[2]
211
if (t[3] != hex(t[0])) then throw "err: hex(" + str(t[0]) + ") <> " + t[3]
212
-next
+next
213
+
214
+REM Bug: RTRIM trimed input string on the right side
215
+s1 = " test "
216
+s2 = rtrim(s1)
217
+if(s1 != " test ") then throw "err: RTRIM changed input string"
0 commit comments