Skip to content

Commit 27fe4fc

Browse files
TylerJang27github-actions[bot]
authored andcommitted
Auto add snapshots
1 parent 4dbfeab commit 27fe4fc

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
// trunk-upgrade-validation:RELEASE
3+
4+
exports[`Testing formatter scalafmt test basic 1`] = `
5+
"case class Demo(a: String, b: Int, c: Char)
6+
"
7+
`;
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
// trunk-upgrade-validation:RELEASE
3+
4+
exports[`Testing linter scalafmt test empty 1`] = `
5+
{
6+
"issues": [],
7+
"lintActions": [
8+
{
9+
"command": "format",
10+
"fileGroupName": "scala",
11+
"linter": "scalafmt",
12+
"paths": [
13+
"test_data/empty.in.scala",
14+
],
15+
"verb": "TRUNK_VERB_FMT",
16+
},
17+
],
18+
"taskFailures": [],
19+
"unformattedFiles": [
20+
{
21+
"column": "1",
22+
"file": "test_data/empty.in.scala",
23+
"issueClass": "ISSUE_CLASS_UNFORMATTED",
24+
"level": "LEVEL_HIGH",
25+
"line": "1",
26+
"linter": "scalafmt",
27+
"message": "Incorrect formatting, autoformat by running 'trunk fmt'",
28+
},
29+
],
30+
}
31+
`;

0 commit comments

Comments
 (0)