Skip to content

Commit

Permalink
Auto add snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerJang27 authored and github-actions[bot] committed Feb 24, 2025
1 parent 87eefab commit 6c5ddc8
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
7 changes: 7 additions & 0 deletions linters/scalafmt/test_data/scalafmt_v3.9.1_basic.fmt.shot
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 linters/scalafmt/test_data/scalafmt_v3.9.1_empty.check.shot
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'",
},
],
}
`;

0 comments on commit 6c5ddc8

Please sign in to comment.