We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 272cbf1 commit bd58233Copy full SHA for bd58233
tests/beman/optional/optional.t.cpp
@@ -313,15 +313,15 @@ TEST(OptionalTest, ConvertingAssignmentValue) {
313
TEST(OptionalTest, ConvertingValueAssignment) {
314
struct base {};
315
316
- struct convertable {
+ struct convertible {
317
operator base() { return base{}; }
318
};
319
320
beman::optional::optional<base> empty;
321
beman::optional::optional<base> engaged(base{});
322
323
- empty = convertable{};
324
- engaged = convertable{};
+ empty = convertible{};
+ engaged = convertible{};
325
EXPECT_TRUE(empty);
326
EXPECT_TRUE(engaged);
327
}
0 commit comments