diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-08-30 12:25:27 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-08-30 12:25:27 +0000 |
commit | dce1afdc67b36e1b06d03c541758cb3cd97ccedd (patch) | |
tree | 2d1aa8c78b9a0a24ac9b8035f4cad0a4e3d8efa7 /tests/lang | |
parent | 3151bdea55ceb341b08998d2b29d9451e81c2143 (diff) |
* TDD: == should do a deep equality test, i.e., it should strictly
evaluate its arguments.
Diffstat (limited to 'tests/lang')
-rw-r--r-- | tests/lang/eval-okay-eq.exp | 1 | ||||
-rw-r--r-- | tests/lang/eval-okay-eq.nix | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-eq.exp b/tests/lang/eval-okay-eq.exp new file mode 100644 index 000000000..2015847b6 --- /dev/null +++ b/tests/lang/eval-okay-eq.exp @@ -0,0 +1 @@ +Bool(True) diff --git a/tests/lang/eval-okay-eq.nix b/tests/lang/eval-okay-eq.nix new file mode 100644 index 000000000..73d200b38 --- /dev/null +++ b/tests/lang/eval-okay-eq.nix @@ -0,0 +1,3 @@ +["foobar" (rec {x = 1; y = x;})] +== +[("foo" + "bar") ({x = 1; y = 1;})] |