mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
support seamless slice in expects
This commit is contained in:
parent
66fa633fde
commit
5dd0bdebc9
5 changed files with 14 additions and 8 deletions
2
crates/cli_testing_examples/.gitignore
vendored
2
crates/cli_testing_examples/.gitignore
vendored
|
@ -4,8 +4,8 @@ libapp.so
|
|||
dynhost
|
||||
preprocessedhost
|
||||
metadata
|
||||
expects
|
||||
|
||||
expects/expects
|
||||
benchmarks/rbtree-ck
|
||||
benchmarks/rbtree-insert
|
||||
benchmarks/test-astar
|
||||
|
|
|
@ -14,8 +14,11 @@ polyDbg = \x ->
|
|||
x
|
||||
|
||||
main =
|
||||
str = "this will for sure be a large string so when we split it it will use seamless slices which affect printing"
|
||||
words = Str.split str " "
|
||||
expect words == []
|
||||
|
||||
x = 42
|
||||
expect x != x
|
||||
dbg x
|
||||
dbg "Fjoer en ferdjer frieten oan dyn geve lea"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue