Added newline at ed of file

This commit is contained in:
Benoit Blanchon
2014-10-23 23:45:36 +02:00
parent e85f27c0f3
commit 55b0eab3e6
39 changed files with 44 additions and 39 deletions

View File

@ -132,4 +132,4 @@ TEST_F(JsonArray_Container_Tests, CanCreateNestedObjects) {
firstElementMustBe(innerObject1);
secondElementMustBe(innerObject2);
nodeCountMustBe(3);
}
}

View File

@ -27,4 +27,4 @@ TEST(JsonArray_Iterator_Test, SimpleTest) {
EXPECT_EQ(34, (*it).as<int>()); // TODO: use ->
++it;
EXPECT_EQ(array.end(), it);
}
}

View File

@ -80,4 +80,4 @@ TEST_F(JsonArray_PrettyPrintTo_Tests, NestedArrays) {
" \"key\": 3\r\n"
" }\r\n"
"]");
}
}

View File

@ -125,4 +125,4 @@ TEST_F(JsonArray_PrintTo_Tests, OneEmptyNestedHash) {
array.createNestedObject();
outputMustBe("[{}]");
}
}

View File

@ -111,4 +111,4 @@ TEST_F(JsonObject_Container_Tests, CanStoreInnerObjects) {
EXPECT_EQ(innerObject1, (JsonObject)object["hello"]);
EXPECT_EQ(innerObject2, (JsonObject)object["world"]);
}
}

View File

@ -29,4 +29,4 @@ TEST(JsonObject_Iterator_Test, SimpleTest) {
EXPECT_EQ(34, it->value().as<int>());
++it;
EXPECT_EQ(object.end(), it);
}
}

View File

@ -77,4 +77,4 @@ TEST_F(JsonObject_PrettyPrintTo_Tests, NestedContainers) {
" 2\r\n"
" ]\r\n"
"}");
}
}

View File

@ -138,4 +138,4 @@ TEST_F(JsonObject_Serialization_Tests, OneEmptyNestedArray) {
object.createNestedArray("key");
outputMustBe("{\"key\":[]}");
}
}

View File

@ -145,4 +145,4 @@ TEST_F(JsonParser_Array_Tests, TwoStrings) {
sizeMustBe(2);
firstElementMustBe("hello");
secondElementMustBe("world");
}
}

View File

@ -53,4 +53,4 @@ TEST(JsonParser_Nested_Tests, ObjectNestedInArray) {
EXPECT_EQ(2, object1["b"].as<int>());
EXPECT_EQ(3, object2["c"].as<int>());
EXPECT_EQ(4, object2["d"].as<int>());
}
}

View File

@ -171,4 +171,4 @@ TEST_F(JsonParser_Object_Test, TwoNulls) {
TEST_F(JsonParser_Object_Test, NullForKey) {
whenInputIs("null:\"value\"}");
parseMustFail();
}
}

View File

@ -108,4 +108,4 @@ TEST_F(JsonValueTests, ArraysAreCopiedByReference) {
array.add("world");
EXPECT_EQ(1, ((JsonObject)jsonValue1).size());
}
}

View File

@ -127,4 +127,4 @@ TEST_F(QuotedString_ExtractFrom_Tests, EscapedTab) {
TEST_F(QuotedString_ExtractFrom_Tests, AllEscapedCharsTogether) {
whenInputIs("\"1\\\"2\\\\3\\/4\\b5\\f6\\n7\\r8\\t9\"");
resultMustBe("1\"2\\3/4\b5\f6\n7\r8\t9");
}
}

View File

@ -76,4 +76,4 @@ TEST_F(QuotedString_PrintTo_Tests, CarriageReturn) {
TEST_F(QuotedString_PrintTo_Tests, HorizontalTab) {
whenInputIs("\t");
outputMustBe("\"\\t\"");
}
}

View File

@ -72,4 +72,4 @@ TEST(
obj["hello"];
EXPECT_EQ(3, json.size());
}
}

View File

@ -57,4 +57,4 @@ TEST_F(StringBuilderTests, TwoStrings) {
resultMustBe(4);
outputMustBe("ABCDEFGH");
}
}