Skip to content

Commit 3e347b1

Browse files
committed
fix ir
1 parent 009178a commit 3e347b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mypyc/test-data/irbuild-bytes.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ def f(b: bytes) -> bytes:
234234
return b.rjust(8, b'0')
235235
[out]
236236
def f(b):
237-
b, r0 :: bytes
237+
b, r0, r1 :: bytes
238238
L0:
239-
r0 = b'_'
240-
r1 = CPyBytes_Rjust(b, 20, r0)
239+
r0 = b'0'
240+
r1 = CPyBytes_Rjust(b, 16, r0)
241241
return r1
242242

243243
[case testBytesLjustDefault]
@@ -256,7 +256,7 @@ def f(b: bytes) -> bytes:
256256
return b.ljust(10, b'_')
257257
[out]
258258
def f(b):
259-
b, r0 :: bytes
259+
b, r0, r1 :: bytes
260260
L0:
261261
r0 = b'_'
262262
r1 = CPyBytes_Ljust(b, 20, r0)

0 commit comments

Comments
 (0)