Skip to content

Commit c9129b8

Browse files
committed
Add a text block test case
1 parent e0f11d9 commit c9129b8

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

smithy-syntax/src/test/resources/software/amazon/smithy/syntax/formatter/tagged-string-literals-spacing.formatted.smithy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,12 @@ namespace smithy.example
55
@pattern(#re "^\d{3}-\d{2}-\d{4}$")
66
string SSNFormat
77

8+
@pattern(#re """
9+
^\d{3}-
10+
\d{2}-
11+
\d{4}$
12+
""")
13+
string SSNFormat2
14+
815
@pattern(#re "^\d+$")
916
string DigitsOnly

smithy-syntax/src/test/resources/software/amazon/smithy/syntax/formatter/tagged-string-literals-spacing.smithy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,12 @@ namespace smithy.example
55
@pattern(#re "^\d{3}-\d{2}-\d{4}$")
66
string SSNFormat
77

8+
@pattern(#re """
9+
^\d{3}-
10+
\d{2}-
11+
\d{4}$
12+
""")
13+
string SSNFormat2
14+
815
@pattern(#re "^\d+$")
916
string DigitsOnly

0 commit comments

Comments
 (0)