Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class MissingRequiredKeyInspectionTest : AbstractUnitFileTest() {

[Service]
Type=oneshot
CPUAccounting=true

""".trimIndent()

Expand All @@ -41,7 +40,6 @@ class MissingRequiredKeyInspectionTest : AbstractUnitFileTest() {

[Service]
Type=oneshot
CPUAccounting=true

""".trimIndent()

Expand All @@ -68,7 +66,6 @@ class MissingRequiredKeyInspectionTest : AbstractUnitFileTest() {
[Service]
Type=oneshot
ExecStart=foo
CPUAccounting=true

""".trimIndent()

Expand Down Expand Up @@ -97,7 +94,6 @@ class MissingRequiredKeyInspectionTest : AbstractUnitFileTest() {
Type=oneshot
ExecStart=foo
ExecStop=bar
CPUAccounting=true

""".trimIndent()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class UnknownKeyInSectionInspectionTest : AbstractUnitFileTest() {
// language="unit file (systemd)"
val file = """
[Service]
CPUAccounting=on
CPUWeight=1
""".trimIndent()
enableInspection(UnknownKeyInSectionInspection::class.java)
setupFileInEditor("file.service", file)
Expand Down Expand Up @@ -526,7 +526,7 @@ class UnknownKeyInSectionInspectionTest : AbstractUnitFileTest() {
// language="unit file (systemd)"
val file = """
[Slice]
CPUAccounting=true
CPUWeight=1
""".trimIndent()
enableInspection(UnknownKeyInSectionInspection::class.java)
setupFileInEditor("some.slice", file)
Expand Down