Skip to content

Commit b3028e0

Browse files
committed
Fix test to match actual error message format
1 parent d3a6050 commit b3028e0

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

bin/detect

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ output::error <<-EOF
4949
2. Has the correct spelling (the filenames are case-sensitive).
5050
3. Isn't listed in '.gitignore' or '.slugignore'.
5151
4. Has been added to the Git repository using 'git add --all'
52-
and then committed using 'git commit'.
52+
and then committed using 'git commit'.
5353
5454
For help with using Java on Heroku, see:
5555
https://devcenter.heroku.com/articles/java-support

test/spec/detection_spec.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@
1010
remote: ! Error: Your app is configured to use the Java buildpack,
1111
remote: ! but we couldn't find any supported Java project files.
1212
remote: !
13-
remote: ! The Java buildpack only supports Maven projects. It requires a 'pom.xml'
13+
remote: ! The Java buildpack only supports Maven projects. It requires a pom.xml
1414
remote: ! file or other supported POM format in the root directory of your source code.
1515
remote: !
16-
remote: ! Supported POM formats: pom.xml, pom.atom, pom.clj, pom.groovy,
17-
remote: ! pom.rb, pom.scala, pom.yaml, pom.yml
16+
remote: ! Supported POM formats: pom.xml, pom.atom, pom.clj, pom.groovy, pom.rb, pom.scala, pom.yaml, pom.yml
1817
remote: !
1918
remote: ! IMPORTANT: If your Java project uses a different build tool:
2019
remote: ! - For Gradle projects, use the heroku/gradle buildpack instead

0 commit comments

Comments
 (0)