Skip to content

Commit 6047b0f

Browse files
Update irbuild-str.test
1 parent 0216858 commit 6047b0f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

mypyc/test-data/irbuild-str.test

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -613,13 +613,15 @@ integer: Final = 123
613613
floating: Final = 3.14
614614

615615
def test(x: str) -> str:
616-
return f"{string}{integer}{floating}{x}"
616+
return f"{string}{integer}{floating}{x}{floating}{integer}{string}{x}{string}{integer}{floating}{x}"
617617

618618
[out]
619619
def test(x):
620-
x, r0, r1 :: str
620+
x, r0, r1, r2, r3 :: str
621621

622622
L0:
623623
r0 = 'abc1233.14'
624-
r1 = CPyStr_Build(2, r0, x)
625-
return r1
624+
r1 = '3.14123abc'
625+
r2 = 'abc1233.14'
626+
r3 = CPyStr_Build(2, r0, x, r1, x, r2)
627+
return r3

0 commit comments

Comments
 (0)