[lang-ref] ( padding_space_right ) ( python )

@pytest.mark.parametrize(
    'text, size, expected',
    [
        ('abc', 5, 'abc  '),
        ('abcdef', 5, 'abcdef'),
        ('あいうe', 5, 'あいうe '),
    ],
)
def test_padding_space_right(text, size, expected):
    # s.ljust
    assert text.ljust(size) == expected