mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
ModsTomlTest: Suppress GStringExpressionWithinString
It's intentional in the code in question - it really is a Groovy template used via Gradle's ProcessResources task.
This commit is contained in:
@@ -40,11 +40,13 @@ class ModsTomlTest extends Specification {
|
||||
|[[mods]]
|
||||
|modId="world"
|
||||
'''.stripMargin()
|
||||
// codenarc-disable GStringExpressionWithinString
|
||||
public static final String BROKEN_INPUT =
|
||||
'''
|
||||
|[[mods.${MOD_ID}]]
|
||||
|modId = "hello_world"
|
||||
'''.stripMargin()
|
||||
// codenarc-enable GStringExpressionWithinString
|
||||
|
||||
@TempDir
|
||||
Path tempDir
|
||||
|
||||
Reference in New Issue
Block a user