diff options
Diffstat (limited to 'tests/functional2/test_eval_trivial.py')
-rw-r--r-- | tests/functional2/test_eval_trivial.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/functional2/test_eval_trivial.py b/tests/functional2/test_eval_trivial.py new file mode 100644 index 000000000..8bde9d22c --- /dev/null +++ b/tests/functional2/test_eval_trivial.py @@ -0,0 +1,4 @@ +from .testlib.fixtures import Nix + +def test_trivial_addition(nix: Nix): + assert nix.eval('1 + 1').json() == 2 |