<gh_stars>0
from viewdom import html, render


def make_bigly(name: str) -> str:
    return f'BIGLY: {name.upper()}'


name = 'viewdom'
result = render(html('<div>Hello {make_bigly(name)}</div>'))
# '<div>Hello BIGLY: VIEWDOM</div>'
# end-before
expected = '<div>Hello BIGLY: VIEWDOM</div>'

from viewdom import html, render


def make_bigly(name: str) -> str:
    return f'BIGLY: {name.upper()}'


name = 'viewdom'
result = render(html('<div>Hello {make_bigly(name)}</div>'))
# '<div>Hello BIGLY: VIEWDOM</div>'
# end-before
expected = '<div>Hello BIGLY: VIEWDOM</div>'
# '<div>Hello BIGLY: VIEWDOM</div>' # end-before