fix enum constant collision with define on windows

This commit is contained in:
mlangkabel
2018-12-18 11:23:23 +01:00
parent aa85d20e73
commit 3bb799cc77
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -514,7 +514,7 @@ namespace sourcetrail
const std::vector<StorageSourceLocation> sourceLocations = storage->getAll<StorageSourceLocation>();
REQUIRE(sourceLocations.size() == 1);
REQUIRE(sourceLocations.front().locationKind == locationKindToInt(LocationKind::ERROR));
REQUIRE(sourceLocations.front().locationKind == locationKindToInt(LocationKind::INDEXER_ERROR));
REQUIRE(sourceLocations.front().startLineNumber == startLine);
REQUIRE(sourceLocations.front().startColumnNumber == startCol);
REQUIRE(sourceLocations.front().endLineNumber == endLine);