From d05fe2fe155a6707d3372b2924e7bbce0ac61703 Mon Sep 17 00:00:00 2001 From: Ivan Donchevskii Date: Thu, 25 Oct 2018 10:04:42 +0200 Subject: [PATCH] Clang: Re-enable tests which do not fail anymore Change-Id: I1f8f396eeb8e97a8910bc2bd454227a395330f31 Reviewed-by: Nikolai Kosjar --- tests/unit/unittest/cursor-test.cpp | 2 +- tests/unit/unittest/sourcelocation-test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/unittest/cursor-test.cpp b/tests/unit/unittest/cursor-test.cpp index 7523df69ea5..20e985043b4 100644 --- a/tests/unit/unittest/cursor-test.cpp +++ b/tests/unit/unittest/cursor-test.cpp @@ -185,7 +185,7 @@ TEST_F(Cursor, BriefComment) ASSERT_THAT(cursor.briefComment(), Eq("A brief comment")); } -TEST_F(Cursor, DISABLED_ON_WINDOWS(RawComment)) +TEST_F(Cursor, RawComment) { auto cursor = translationUnit.cursorAt(Utf8StringLiteral(TESTDATA_DIR"/cursor.h"), 10, 7); diff --git a/tests/unit/unittest/sourcelocation-test.cpp b/tests/unit/unittest/sourcelocation-test.cpp index 4ef77e794a9..f2e8c908682 100644 --- a/tests/unit/unittest/sourcelocation-test.cpp +++ b/tests/unit/unittest/sourcelocation-test.cpp @@ -86,7 +86,7 @@ TEST_F(SourceLocation, Column) ASSERT_THAT(sourceLocation.column(), 1); } -TEST_F(SourceLocation, DISABLED_ON_WINDOWS(Offset)) +TEST_F(SourceLocation, Offset) { ASSERT_THAT(sourceLocation.offset(), 18); }