aboutsummaryrefslogtreecommitdiff
path: root/tests/functional2/test_eval_trivial.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional2/test_eval_trivial.py')
-rw-r--r--tests/functional2/test_eval_trivial.py4
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