Skip to content

Commit 1b7b2db

Browse files
authored
Merge pull request #2259 from stephencelis/patch-2
Fix StringifyMacro's interpolation test
2 parents f974452 + f361d6d commit 1b7b2db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Examples/Tests/MacroExamples/Implementation/Expression/StringifyMacroTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ final class StringifyMacroTests: XCTestCase {
3333

3434
func testExpansionWithStringInterpolation() {
3535
assertMacroExpansion(
36-
"""
36+
#"""
3737
let b = #stringify("Hello, \(name)")
38-
""",
39-
expandedSource: """
38+
"""#,
39+
expandedSource: #"""
4040
let b = ("Hello, \(name)", #""Hello, \(name)""#)
41-
""",
41+
"""#,
4242
macros: macros,
4343
indentationWidth: .spaces(2)
4444
)

0 commit comments

Comments
 (0)