summaryrefslogtreecommitdiff
path: root/src/compat/option_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat/option_test.cpp')
-rw-r--r--src/compat/option_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compat/option_test.cpp b/src/compat/option_test.cpp
index ac95424..f9cec0e 100644
--- a/src/compat/option_test.cpp
+++ b/src/compat/option_test.cpp
@@ -398,7 +398,7 @@ TEST(Option, unwrap)
v = None; TRY_UNWRAP(fcr(), v = Some(1));
v = None;
- if OPTION_IS_SOME(o, v)
+ if OPTION_IS_SOME_NOLOOP(o, v)
{
EXPECT_NE(o, o);
}
@@ -408,7 +408,7 @@ TEST(Option, unwrap)
}
v = Some(1);
- if OPTION_IS_SOME(o, v)
+ if OPTION_IS_SOME_NOLOOP(o, v)
{
EXPECT_EQ(o, 1);
}