diff --git a/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/MissingRequiredKeyInspectionTest.kt b/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/MissingRequiredKeyInspectionTest.kt index da6a9117..c960c1af 100644 --- a/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/MissingRequiredKeyInspectionTest.kt +++ b/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/MissingRequiredKeyInspectionTest.kt @@ -15,7 +15,6 @@ class MissingRequiredKeyInspectionTest : AbstractUnitFileTest() { [Service] Type=oneshot - CPUAccounting=true """.trimIndent() @@ -41,7 +40,6 @@ class MissingRequiredKeyInspectionTest : AbstractUnitFileTest() { [Service] Type=oneshot - CPUAccounting=true """.trimIndent() @@ -68,7 +66,6 @@ class MissingRequiredKeyInspectionTest : AbstractUnitFileTest() { [Service] Type=oneshot ExecStart=foo - CPUAccounting=true """.trimIndent() @@ -97,7 +94,6 @@ class MissingRequiredKeyInspectionTest : AbstractUnitFileTest() { Type=oneshot ExecStart=foo ExecStop=bar - CPUAccounting=true """.trimIndent() diff --git a/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/UnknownKeyInSectionInspectionTest.kt b/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/UnknownKeyInSectionInspectionTest.kt index 72e7dd9c..66bd4381 100644 --- a/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/UnknownKeyInSectionInspectionTest.kt +++ b/src/test/kotlin/net/sjrx/intellij/plugins/systemdunitfiles/inspections/UnknownKeyInSectionInspectionTest.kt @@ -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) @@ -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)