Add previously forgotten tests

This commit is contained in:
Stanisław Barzowski 2017-10-13 17:32:56 -04:00 committed by Dave Cunningham
parent 5ff7ee047d
commit bb8d424f73
4 changed files with 13 additions and 0 deletions

1
testdata/native6.golden vendored Normal file
View File

@ -0,0 +1 @@
"{}"

1
testdata/native6.jsonnet vendored Normal file
View File

@ -0,0 +1 @@
std.native("jsonToString")(x={})

10
testdata/native7.golden vendored Normal file
View File

@ -0,0 +1,10 @@
RUNTIME ERROR: Function has no parameter y
-------------------------------------------------
testdata/native7:1:1-33 $
std.native("jsonToString")(y={})
-------------------------------------------------
During evaluation

1
testdata/native7.jsonnet vendored Normal file
View File

@ -0,0 +1 @@
std.native("jsonToString")(y={})