Skip to content

Commit

Permalink
remove redundant test (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Schäfer committed Dec 19, 2015
1 parent bec4b27 commit 5e3703e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public void camel_case_is_supported_in_steps() throws Throwable {
@Test
public void camel_case_is_supported_in_steps_with_parameters() throws Throwable {
startScenario( "Scenario camel case steps with parameter" );
given().aStepInCamelCaseWithA$Parameter("dollar");
given().aStepInCamelCaseWithA$Parameter( "dollar" );
getScenario().finished();
StepModel step = getScenario().getScenarioCaseModel().getFirstStep();
assertThat( step.getCompleteSentence() ).isEqualTo( "Given a step in camel case with a dollar parameter" );
Expand Down Expand Up @@ -357,7 +357,7 @@ public void error_message_is_correctly_stored() throws Throwable {

}
ScenarioCaseModel scenarioCaseModel = getScenario().getScenarioCaseModel();
assertThat( scenarioCaseModel.getErrorMessage() ).isEqualTo( "test error" );
assertThat( scenarioCaseModel.getErrorMessage() ).isEqualTo( "java.lang.IllegalArgumentException: test error" );
assertThat( scenarioCaseModel.getStackTrace().get( 0 ) ).matches(
"com.tngtech.jgiven.impl.ScenarioModelBuilderTest\\$FailingTestStage.a_failing_test\\(ScenarioModelBuilderTest.java:\\d+\\)" );
}
Expand Down

This file was deleted.

0 comments on commit 5e3703e

Please sign in to comment.