02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
10 lines
229 B
Nix
10 lines
229 B
Nix
{ runCommand, spidermonkey }:
|
|
|
|
runCommand "spidermonkey-test-run" {
|
|
nativeBuildInputs = [
|
|
spidermonkey
|
|
];
|
|
} ''
|
|
diff -U3 --color=auto <(js <(echo "console.log('Hello, world\!')")) <(echo 'Hello, world!')
|
|
touch $out
|
|
''
|