nixpkgs/pkgs/by-name/el/elvish/tests/expect-version.elv

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
213 B
Text
Raw Normal View History

fn expect {|key expected|
var actual = $buildinfo[$key]
if (not-eq $actual $expected) {
fail '$buildinfo['$key']: expected '(to-string $expected)', got '(to-string $actual)
}
}
expect version @version@