-
Notifications
You must be signed in to change notification settings - Fork 42
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
1 parent
87eefab
commit 6c5ddc8
Showing
2 changed files
with
38 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
// trunk-upgrade-validation:RELEASE | ||
|
||
exports[`Testing formatter scalafmt test basic 1`] = ` | ||
"case class Demo(a: String, b: Int, c: Char) | ||
" | ||
`; |
31 changes: 31 additions & 0 deletions
31
linters/scalafmt/test_data/scalafmt_v3.9.1_empty.check.shot
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,31 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
// trunk-upgrade-validation:RELEASE | ||
|
||
exports[`Testing linter scalafmt test empty 1`] = ` | ||
{ | ||
"issues": [], | ||
"lintActions": [ | ||
{ | ||
"command": "format", | ||
"fileGroupName": "scala", | ||
"linter": "scalafmt", | ||
"paths": [ | ||
"test_data/empty.in.scala", | ||
], | ||
"verb": "TRUNK_VERB_FMT", | ||
}, | ||
], | ||
"taskFailures": [], | ||
"unformattedFiles": [ | ||
{ | ||
"column": "1", | ||
"file": "test_data/empty.in.scala", | ||
"issueClass": "ISSUE_CLASS_UNFORMATTED", | ||
"level": "LEVEL_HIGH", | ||
"line": "1", | ||
"linter": "scalafmt", | ||
"message": "Incorrect formatting, autoformat by running 'trunk fmt'", | ||
}, | ||
], | ||
} | ||
`; |