Skip to content

Commit

Permalink
fixed tests and metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
amihaiemil committed Mar 30, 2017
1 parent c6b1c42 commit 5c0741e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</properties>
<name>Camel</name>
<description>YAML for Java. User-friendly OOP library.</description>
<url>http://amihaiemil.github.io/eva</url>
<url>https://www.github.com/decorators-squad/camel</url>
<licenses>
<license>
<name>The BSD 3-Clause Licence</name>
Expand All @@ -24,6 +24,12 @@
<url>https://github.com/amihaiemil</url>
<id>amihaiemil</id>
</developer>
<developer>
<name>Sherif Waly</name>
<email>sherifwaly95@gmail.com</email>
<url>https://github.com/SherifWaly</url>
<id>SherifWaly</id>
</developer>
<developer>
<name>Salavat Yalalov</name>
<email>s.yalalov@gmail.com</email>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void trimsCommentsLine() {
new RtYamlLine(" #this is a comment line", 1)
);
MatcherAssert.assertThat(
noComments.trimmed(), Matchers.is(" ")
noComments.trimmed(), Matchers.is("")
);
}

Expand All @@ -102,7 +102,7 @@ public void trimsCommentsAtEndOfLineWithoutQuotes() {
new RtYamlLine(" this isn't comment #here is the comment", 1)
);
MatcherAssert.assertThat(
noComments.trimmed(), Matchers.is(" this isn't comment ")
noComments.trimmed(), Matchers.is("this isn't comment")
);
}

Expand All @@ -116,7 +116,7 @@ public void trimsCommentsAtEndOfLineWithQuotes() {
new RtYamlLine(" \"this isn't comment\" #here is the comment", 1)
);
MatcherAssert.assertThat(
noComments.trimmed(), Matchers.is(" \"this isn't comment\" ")
noComments.trimmed(), Matchers.is("\"this isn't comment\"")
);
}

Expand All @@ -129,7 +129,7 @@ public void doesNotTrimsEscapedHash() {
new RtYamlLine(" \"value = #5\" ", 2)
);
MatcherAssert.assertThat(
noComments.trimmed(), Matchers.is(" \"value = #5\" ")
noComments.trimmed(), Matchers.is("\"value = #5\"")
);
}
}

0 comments on commit 5c0741e

Please sign in to comment.