Test that C++ strings are compared as uint8s, not int8s. PossibleMatchRange doesn't depend on this, but callers probably will.
| 21 | // Test that C++ strings are compared as uint8s, not int8s. |
| 22 | // PossibleMatchRange doesn't depend on this, but callers probably will. |
| 23 | TEST(CplusplusStrings, EightBit) { |
| 24 | std::string s = "\x70"; |
| 25 | std::string t = "\xA0"; |
| 26 | EXPECT_LT(s, t); |
| 27 | } |
| 28 | |
| 29 | struct PrefixTest { |
| 30 | const char* regexp; |
nothing calls this directly
no test coverage detected