our strings need not be utf8. json requires utf. -sigh- fixes #1052 Change-Id: I50ecd9882252370bb81845b099b11a7190475d48
10 lines
334 B
Nix
10 lines
334 B
Nix
# parser tests serialize the AST as json, and json does not like non-utf8 strings at all
|
|
{
|
|
invalidString = "välid bit ÿ moré vÃ¥lid";
|
|
invalidAttrPath = x: x.a."aÿb".c;
|
|
"invalidÿName" = 1;
|
|
invalidInherit = x: with x; { inherit "aÿb"; };
|
|
invalidInheritFrom = x: { inherit (x) "aÿb"; };
|
|
invalidLet = let "aÿb" = 1; in 1;
|
|
}
|