aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-02-13 18:28:27 -0500
committerShea Levy <shea@shealevy.com>2018-02-14 09:55:43 -0500
commitb095c06139fa267e6050e4c95208c627cc6251b8 (patch)
tree3fb353d3eaa7334a127d5fe30cd6499abe002d16 /tests
parent3fe9767dd33499c2560d209dc13a01f5fcead1f0 (diff)
Add splitVersion primop.
Fixes #1868.
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/eval-okay-splitversion.exp1
-rw-r--r--tests/lang/eval-okay-splitversion.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-splitversion.exp b/tests/lang/eval-okay-splitversion.exp
new file mode 100644
index 000000000..153ceb818
--- /dev/null
+++ b/tests/lang/eval-okay-splitversion.exp
@@ -0,0 +1 @@
+[ "1" "2" "3" ]
diff --git a/tests/lang/eval-okay-splitversion.nix b/tests/lang/eval-okay-splitversion.nix
new file mode 100644
index 000000000..9e5c99d2e
--- /dev/null
+++ b/tests/lang/eval-okay-splitversion.nix
@@ -0,0 +1 @@
+builtins.splitVersion "1.2.3"