Skip to content

Commit b38682c

Browse files
committed
fix 'file does not exists' typo in tests and RSpecMojo
1 parent 23511c6 commit b38682c

File tree

41 files changed

+59
-59
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+59
-59
lines changed

bundler-maven-plugin/src/it/bundler-pom/verify.bsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import org.codehaus.plexus.util.FileUtils;
55
File f = new File( basedir, "Gemfile.lock" );
66
if ( !f.exists() )
77
{
8-
throw new RuntimeException( "file does not exists: " + f );
8+
throw new RuntimeException( "file does not exist: " + f );
99
}

cucumber-maven-plugin/src/it/cucumber-summary-report/verify.bsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ if ( !log.contains( expected ) )
1111
File file = new File( basedir, "target/surefire-reports/TEST-simplest-1.6.5--1.8.xml");
1212
if ( !file.exists() )
1313
{
14-
throw new RuntimeException( "file does not exists: '" + file.getAbsolutePath() + "'" );
14+
throw new RuntimeException( "file does not exist: '" + file.getAbsolutePath() + "'" );
1515
}
1616

1717
file = new File( basedir, "target/summary.xml");
1818
if ( !file.exists() )
1919
{
20-
throw new RuntimeException( "file does not exists: '" + file.getAbsolutePath() + "'" );
20+
throw new RuntimeException( "file does not exist: '" + file.getAbsolutePath() + "'" );
2121
}

gem-maven-plugin/src/it/gemfile-to-pom-forced/verify.bsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import org.codehaus.plexus.util.FileUtils;
55
File f = new File( basedir, "pom.xml" );
66
if ( !f.exists() )
77
{
8-
throw new RuntimeException( "file does not exists: " + f );
8+
throw new RuntimeException( "file does not exist: " + f );
99
}
1010
if ( f.lastModified() < new File( basedir, "timestamp" ).lastModified())
1111
{

gem-maven-plugin/src/it/gemfile-to-pom/verify.bsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import org.codehaus.plexus.util.FileUtils;
55
File f = new File( basedir, "pom.xml" );
66
if ( !f.exists() )
77
{
8-
throw new RuntimeException( "file does not exists: " + f );
8+
throw new RuntimeException( "file does not exist: " + f );
99
}

gem-maven-plugin/src/it/gemspec-to-pom-forced/verify.bsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import org.codehaus.plexus.util.FileUtils;
55
File f = new File( basedir, "pom.xml" );
66
if ( !f.exists() )
77
{
8-
throw new RuntimeException( "file does not exists: " + f );
8+
throw new RuntimeException( "file does not exist: " + f );
99
}
1010
if ( f.lastModified() < new File( basedir, "timestamp" ).lastModified())
1111
{

gem-maven-plugin/src/it/gemspec-to-pom/verify.bsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import org.codehaus.plexus.util.FileUtils;
55
File f = new File( basedir, "pom.xml" );
66
if ( !f.exists() )
77
{
8-
throw new RuntimeException( "file does not exists: " + f );
8+
throw new RuntimeException( "file does not exist: " + f );
99
}

gem-maven-plugin/src/it/install-gem-pom/verify.bsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import org.codehaus.plexus.util.FileUtils;
55
File f = new File( basedir, "target/pom_first-0.0.0.gem" );
66
if ( !f.exists() )
77
{
8-
throw new RuntimeException( "file does not exists: " + f );
8+
throw new RuntimeException( "file does not exist: " + f );
99
}

gem-maven-plugin/src/it/install-gem-ruby-9.2.10-compatibility/verify.bsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import org.codehaus.plexus.util.FileUtils;
44
File f = new File( basedir, "target/rubygems/gems/yard-0.9.25" );
55
if ( !f.exists() )
66
{
7-
throw new RuntimeException( "file does not exists: " + f );
7+
throw new RuntimeException( "file does not exist: " + f );
88
}

gem-maven-plugin/src/it/install-java-gem-pom/verify.bsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import org.codehaus.plexus.util.FileUtils;
55
File f = new File( basedir, "target/com.example.package-java-gem-0.0.0-java.gem" );
66
if ( !f.exists() )
77
{
8-
throw new RuntimeException( "file does not exists: " + f );
8+
throw new RuntimeException( "file does not exist: " + f );
99
}

gem-maven-plugin/src/it/install-pom-with-gemspec/verify.bsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import org.codehaus.plexus.util.FileUtils;
55
File f = new File( basedir, "target/first.gem" );
66
if ( !f.exists() )
77
{
8-
throw new RuntimeException( "file does not exists: " + f );
8+
throw new RuntimeException( "file does not exist: " + f );
99
}
1010
f = new File( basedir, "pom.pom_first.gemspec.xml" );
1111
if ( !f.exists() )
1212
{
13-
throw new RuntimeException( "file does not exists: " + f );
13+
throw new RuntimeException( "file does not exist: " + f );
1414
}

0 commit comments

Comments
 (0)