test for equality between builtin and user defined functions
This commit is contained in:
parent
3615835e03
commit
b21bc0424f
@ -46,6 +46,12 @@ test!(
|
|||||||
"a {b: get-function(lighten) == get-function(darken);}",
|
"a {b: get-function(lighten) == get-function(darken);}",
|
||||||
"a {\n b: false;\n}\n"
|
"a {\n b: false;\n}\n"
|
||||||
);
|
);
|
||||||
|
test!(
|
||||||
|
builtin_not_equal_to_user_defined,
|
||||||
|
"@function user-defined() {\n @return foo;\n}\n
|
||||||
|
a {b: get-function(lighten) == get-function(user-defined);}",
|
||||||
|
"a {\n b: false;\n}\n"
|
||||||
|
);
|
||||||
test!(
|
test!(
|
||||||
inspect_builtin_function,
|
inspect_builtin_function,
|
||||||
"a {b: inspect(get-function(lighten));}",
|
"a {b: inspect(get-function(lighten));}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user