Skip to content

Commit 6ca8cfb

Browse files
Undinyopox
authored andcommitted
T: fix RsTrailingCommaFormatProcessorTest tests on 213
1 parent e8da25e commit 6ca8cfb

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/main/kotlin/org/rust/ide/formatter/Util.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ val CodeStyleSettings.rust: RsCodeStyleSettings
1414

1515
object RustfmtTestmarks {
1616
val rustfmtUsed: Testmark = Testmark("rustfmtUsed")
17-
val builtinPostProcess: Testmark = Testmark("builtinPostProcess")
1817
}

src/test/kotlin/org/rust/ide/formatter/RsTrailingCommaFormatProcessorTest.kt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
package org.rust.ide.formatter
77

88
import org.intellij.lang.annotations.Language
9-
import org.rust.IgnoreInPlatform
109
import org.rust.cargo.project.settings.rustSettings
1110
import org.rust.lang.core.psi.RsPsiFactory
1211
import org.rust.lang.core.psi.RsStructItem
@@ -131,7 +130,6 @@ class RsTrailingCommaFormatProcessorTest : RsFormatterTestBase() {
131130
}
132131
""")
133132

134-
@IgnoreInPlatform(212)
135133
fun `test trailing comma processor works when RustfmtExternalFormatProcessor is used`() {
136134
@Language("Rust")
137135
val before = """
@@ -170,8 +168,6 @@ class RsTrailingCommaFormatProcessorTest : RsFormatterTestBase() {
170168
// `Rustfmt` will not be used because of range restriction
171169
myTextRange = RsPsiFactory(project).createFile(before).descendantOfTypeStrict<RsStructItem>()!!.textRange
172170

173-
RustfmtTestmarks.builtinPostProcess.checkHit {
174-
doTextTest(before, after)
175-
}
171+
doTextTest(before, after)
176172
}
177173
}

0 commit comments

Comments
 (0)