aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/libexpr-support
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/libexpr-support')
-rw-r--r--tests/unit/libexpr-support/tests/libexpr.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/libexpr-support/tests/libexpr.hh b/tests/unit/libexpr-support/tests/libexpr.hh
index b820e3fab..01dcbb34c 100644
--- a/tests/unit/libexpr-support/tests/libexpr.hh
+++ b/tests/unit/libexpr-support/tests/libexpr.hh
@@ -77,7 +77,7 @@ namespace nix {
if (arg.type() != nInt) {
return false;
}
- return arg.integer == v;
+ return arg.integer.value == v;
}
MATCHER_P(IsFloatEq, v, fmt("The float is equal to \"%1%\"", v)) {