Skip to content

Commit

Permalink
ext: synced MiniScript
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasdr committed Jan 5, 2024
1 parent fb770ec commit 2a2482d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions resources/miniscript/tests/base-test.tscript
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,19 @@ on: nothing
console.log("----------------------------------------")
console.log("Check string method access via literal")
console.log("----------------------------------------")
$abc = 'abc';
console.log("length of 'abc' via 'abc'->length(): " + 'abc'->length())
console.log("length of 'abc' via 'abc' ->length(): " + 'abc' ->length())
console.log("length of 'abc' via 'abc'-> length(): " + 'abc'-> length())
console.log("length of 'abc' via 'abc' -> length(): " + 'abc' -> length())
console.log("length of $abc via $abc->length(): " + $abc->length())
console.log("length of $abc via $abc ->length(): " + $abc ->length())
console.log("length of $abc via $abc-> length(): " + $abc-> length())
console.log("length of $abc via $abc -> length(): " + $abc -> length())
console.log("length of String('abc') via String('abc')->length(): " + String('abc')->length())
console.log("length of String('abc') via String('abc') ->length(): " + String('abc') ->length())
console.log("length of String('abc') via String('abc')-> length(): " + String('abc')-> length())
console.log("length of String('abc') via String('abc') -> length(): " + String('abc') -> length())
console.log("-----------------------------------")
console.log("Check string operator (Operators)")
console.log("-----------------------------------")
Expand Down

0 comments on commit 2a2482d

Please sign in to comment.