Skip to content

Commit

Permalink
feat(tests): add case insensitive test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Jan 7, 2024
1 parent e599789 commit cf834c3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/module.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ suite<"Module"> module_suite = []
auto test = lime::module::find("lime-shared-lib");
expect(eq(test.has_value(), true));

#if defined(WIN32) || defined(_WIN32)
auto case_test = lime::module::find("LIME-SHARED-LIB");
expect(eq(case_test.has_value(), true));
#endif

expect(test->name().find("lime-shared") != std::string_view::npos);

expect(test->symbols().size() >= 1);
Expand Down

0 comments on commit cf834c3

Please sign in to comment.