aboutsummaryrefslogtreecommitdiff
path: root/tests/lang
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2018-02-14 16:39:53 +0100
committerGitHub <noreply@github.com>2018-02-14 16:39:53 +0100
commit96d48318cb838cb67916e443266210c46fe4bf87 (patch)
tree3fb353d3eaa7334a127d5fe30cd6499abe002d16 /tests/lang
parent3fe9767dd33499c2560d209dc13a01f5fcead1f0 (diff)
parentb095c06139fa267e6050e4c95208c627cc6251b8 (diff)
Merge pull request #1870 from shlevy/split-version
Add splitVersion primop.
Diffstat (limited to 'tests/lang')
-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"