diff options
author | Eduardo Julian | 2016-12-12 22:33:22 -0400 |
---|---|---|
committer | Eduardo Julian | 2016-12-12 22:33:22 -0400 |
commit | 02f78b1ff29982bea8c93fe6252593ba3942f38b (patch) | |
tree | bbd7902fb8251848f9ce6ac6dd9f98bbcb5f71b8 /stdlib/test/test/lux.lux | |
parent | 6095c8149a4f0c47333d50186f0758d286d30dec (diff) |
- Renamed "==" function to "is".
Diffstat (limited to '')
-rw-r--r-- | stdlib/test/test/lux.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/test/test/lux.lux b/stdlib/test/test/lux.lux index a9f638c73..24954fa2f 100644 --- a/stdlib/test/test/lux.lux +++ b/stdlib/test/test/lux.lux @@ -20,11 +20,11 @@ y (R;text size)] ($_ seq (assert "Every value is identical to itself, and the 'id' function doesn't change values in any way." - (and (== x x) - (== x (id x)))) + (and (is x x) + (is x (id x)))) (assert "Values created separately can't be identical." - (not (== x y))) + (not (is x y))) )) (do-template [category rand-gen inc dec even? odd? = < >] @@ -165,9 +165,9 @@ false))) (assert "Can have defaults for Maybe values." - (and (== "yolo" (default "yolo" + (and (is "yolo" (default "yolo" #;None)) - (== "lol" (default "yolo" + (is "lol" (default "yolo" (#;Some "lol"))))) )) |