forked from viperproject/gobra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
181 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/test/resources/regressions/features/import/import-fail1.gobra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Any copyright is dedicated to the Public Domain. | ||
// http://creativecommons.org/publicdomain/zero/1.0/ | ||
|
||
package main | ||
|
||
import ( | ||
// the following package does not exist | ||
//:: ExpectedOutput(parser_error) | ||
"nopackagewhatsoever" | ||
) |
12 changes: 12 additions & 0 deletions
12
src/test/resources/regressions/features/import/import-fail2.gobra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Any copyright is dedicated to the Public Domain. | ||
// http://creativecommons.org/publicdomain/zero/1.0/ | ||
|
||
package main | ||
|
||
// ##(-I ./) | ||
|
||
import ( | ||
// note that package `parse_error` contains a parser error so the qualifier cannot be resolved | ||
//:: ExpectedOutput(parser_error) | ||
"parse_error" | ||
) |
12 changes: 12 additions & 0 deletions
12
src/test/resources/regressions/features/import/import-fail3.gobra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Any copyright is dedicated to the Public Domain. | ||
// http://creativecommons.org/publicdomain/zero/1.0/ | ||
|
||
package main | ||
|
||
// ##(-I ./) | ||
|
||
import ( | ||
// note that `foo` contains a parser error so the qualifier cannot be resolved | ||
//:: ExpectedOutput(parser_error) | ||
"invalid_package_clause" | ||
) |
4 changes: 4 additions & 0 deletions
4
...esources/regressions/features/import/invalid_package_clause/invalid_package_clause1.gobra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Any copyright is dedicated to the Public Domain. | ||
// http://creativecommons.org/publicdomain/zero/1.0/ | ||
|
||
package clause1 |
4 changes: 4 additions & 0 deletions
4
...esources/regressions/features/import/invalid_package_clause/invalid_package_clause2.gobra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Any copyright is dedicated to the Public Domain. | ||
// http://creativecommons.org/publicdomain/zero/1.0/ | ||
|
||
package clause2 |
8 changes: 8 additions & 0 deletions
8
src/test/resources/regressions/features/import/parse_error/parse_error.gobra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Any copyright is dedicated to the Public Domain. | ||
// http://creativecommons.org/publicdomain/zero/1.0/ | ||
|
||
package parseError | ||
|
||
// package foo has a source file but an invalid preamble, i.e., fails to parse | ||
//:: ExpectedOutput(parser_error) | ||
imp bla "bla" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
src/test/resources/regressions/features/stubs/stubs-fail1.gobra
This file was deleted.
Oops, something went wrong.