Skip to content

Commit 91013e6

Browse files
committed
Use alias in test
1 parent 88d391f commit 91013e6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/mudbrick/text_block_test.exs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -365,30 +365,30 @@ defmodule Mudbrick.TextBlockTest do
365365
"ET"
366366
] =
367367
output(fn %{fonts: fonts} ->
368-
Mudbrick.TextBlock.new(
368+
TextBlock.new(
369369
font: fonts.regular,
370370
font_size: 10,
371371
position: {400, 500},
372372
align: :right
373373
)
374-
|> Mudbrick.TextBlock.write("a")
375-
|> Mudbrick.TextBlock.write(
374+
|> TextBlock.write("a")
375+
|> TextBlock.write(
376376
"""
377377
aa
378378
""",
379379
colour: {1, 0, 0}
380380
)
381-
|> Mudbrick.TextBlock.write("""
381+
|> TextBlock.write("""
382382
www
383383
WOW\
384384
""")
385-
|> Mudbrick.TextBlock.write(
385+
|> TextBlock.write(
386386
"""
387387
WOWOWOW
388388
""",
389389
colour: {0, 1, 0}
390390
)
391-
|> Mudbrick.TextBlock.write("""
391+
|> TextBlock.write("""
392392
393393
hi\
394394
""")

0 commit comments

Comments
 (0)