| 55 | |
| 56 | |
| 57 | TEST_F(StringDiffsTestByte, ByteLevel19b3) |
| 58 | { |
| 59 | strdiff::SetBreakChars(_T(",;")); |
| 60 | std::vector<strdiff::wdiff> diffs = strdiff::ComputeWordDiffs( |
| 61 | // 0 1 2 3 4567890123456789012345678901234567890123456789 |
| 62 | _T(" wsprintf(buf, _T(left= %s, %d,%d, right= %s, %d,%d ),"), |
| 63 | _T(" if (len2 < 50)"), |
| 64 | true, strdiff::EOL_STRICT, 0, false, 1, true); |
| 65 | EXPECT_EQ(4, diffs.size()); |
| 66 | } |
| 67 | |
| 68 | // Identical strings, case sensitivity, no whitespace, punctuations, byte-level |
| 69 | // Second word is different |
nothing calls this directly
no test coverage detected