Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Sep 11, 2024
1 parent ac17e95 commit 688bd69
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 12 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public class HelloWorldGenerator :
isEnabledByDefault: true);

var location = Location.Create(
"theFile",
Path.Combine("dir", "theFile.cs"),
new(1, 2),
new(
new(1, 2),
Expand Down
12 changes: 11 additions & 1 deletion src/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -309,4 +309,14 @@ resharper_space_before_self_closing = true
ij_xml_space_inside_empty_tag = true

[*.json]
indent_size = 2
indent_size = 2

# Verify settings
[*.{received,verified}.{txt,xml,json,md,sql,csv,html}]
charset = "utf-8-bom"
end_of_line = lf
indent_size = unset
indent_style = unset
insert_final_newline = false
tab_width = unset
trim_trailing_whitespace = false
2 changes: 1 addition & 1 deletion src/SampleGenerator/HelloWorldGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static void SayHello()
isEnabledByDefault: true);

var location = Location.Create(
"theFile",
Path.Combine("dir", "theFile.cs"),
new(1, 2),
new(
new(1, 2),
Expand Down
2 changes: 1 addition & 1 deletion src/SampleGenerator/HelloWorldVbGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ End Module
isEnabledByDefault: true);

var location = Location.Create(
"theFile",
Path.Combine("dir", "theFile.vb"),
new(1, 2),
new(
new(1, 2),
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/IgnoreTest.IgnoreFile.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Title: the title,
Severity: Info,
WarningLevel: 1,
Location: theFile: (1,2)-(3,4),
Location: dir\theFile.cs: (1,2)-(3,4),
MessageFormat: the message from {0},
Message: the message from hello world generator,
Category: the category
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/IgnoreTest.SettingsIgnoreFile.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Title: the title,
Severity: Info,
WarningLevel: 1,
Location: theFile: (1,2)-(3,4),
Location: dir\theFile.cs: (1,2)-(3,4),
MessageFormat: the message from {0},
Message: the message from hello world generator,
Category: the category
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/SampleTest.Driver.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Title: the title,
Severity: Info,
WarningLevel: 1,
Location: theFile: (1,2)-(3,4),
Location: dir\theFile.cs: (1,2)-(3,4),
MessageFormat: the message from {0},
Message: the message from hello world generator,
Category: the category
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/SampleTest.RunResult.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static class HelloWorld
Title: the title,
Severity: Info,
WarningLevel: 1,
Location: theFile: (1,2)-(3,4),
Location: dir\theFile.cs: (1,2)-(3,4),
MessageFormat: the message from {0},
Message: the message from hello world generator,
Category: the category
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/SampleTest.RunResults.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Title: the title,
Severity: Info,
WarningLevel: 1,
Location: theFile: (1,2)-(3,4),
Location: dir\theFile.cs: (1,2)-(3,4),
MessageFormat: the message from {0},
Message: the message from hello world generator,
Category: the category
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/SampleVbTest.Driver.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Title: the title,
Severity: Info,
WarningLevel: 1,
Location: theFile: (1,2)-(3,4),
Location: dir\theFile.vb: (1,2)-(3,4),
MessageFormat: the message from {0},
Message: the message from hello world generator,
Category: the category
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/SampleVbTest.RunResult.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ End Module
Title: the title,
Severity: Info,
WarningLevel: 1,
Location: theFile: (1,2)-(3,4),
Location: dir\theFile.vb: (1,2)-(3,4),
MessageFormat: the message from {0},
Message: the message from hello world generator,
Category: the category
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/ScrubTest.ScrubLines.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Title: the title,
Severity: Info,
WarningLevel: 1,
Location: theFile: (1,2)-(3,4),
Location: dir\theFile.cs: (1,2)-(3,4),
MessageFormat: the message from {0},
Message: the message from hello world generator,
Category: the category
Expand Down

0 comments on commit 688bd69

Please sign in to comment.