Skip to content

Commit

Permalink
Fix the parameters' order in EXPECT_EQ macro (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
jediMunees authored May 20, 2021
1 parent 1b4ed61 commit aba70e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pennylane_lightning/src/tests/TestingUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
try { \
stmt; \
} catch (const etype& ex) { \
EXPECT_EQ(std::string(ex.what()), whatstring); \
EXPECT_EQ(whatstring, std::string(ex.what())); \
throw; \
} \
, etype)
Expand Down

0 comments on commit aba70e1

Please sign in to comment.