Skip to content

Commit

Permalink
types: fix variant test (missing ""s literal)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedede committed Jul 17, 2022
1 parent b89a378 commit 4f0ff63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/tests/variant.c++
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ Test(variant_construct_in_place) {
aw::variant<std::string, char const*> vary{ +"asdasd" };

Checks {
TestEqual(*varx.get<std::string>(), "asdasd");
TestEqual(*vary.get<char const*>(), "asdasd");
TestEqual(*varx.get<std::string>(), "asdasd"s);
TestEqual(*vary.get<char const*>(), "asdasd"s);
}
}

Expand Down

0 comments on commit 4f0ff63

Please sign in to comment.