Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_leading_space():
assert leading_space("test") == ""
assert leading_space(" test") == " "
assert leading_space(" test") == " "
assert leading_space(' 2016-10-31 * "Test" "Test"') == " "
assert leading_space("\r\t\r\ttest") == "\r\t\r\t"
assert leading_space("\ntest") == "\n"
def test_leading_space():
assert leading_space("test") == ""
assert leading_space(" test") == " "
assert leading_space(" test") == " "
assert leading_space(' 2016-10-31 * "Test" "Test"') == " "
assert leading_space("\r\t\r\ttest") == "\r\t\r\t"
assert leading_space("\ntest") == "\n"
def test_leading_space():
assert leading_space("test") == ""
assert leading_space(" test") == " "
assert leading_space(" test") == " "
assert leading_space(' 2016-10-31 * "Test" "Test"') == " "
assert leading_space("\r\t\r\ttest") == "\r\t\r\t"
assert leading_space("\ntest") == "\n"
def test_leading_space():
assert leading_space("test") == ""
assert leading_space(" test") == " "
assert leading_space(" test") == " "
assert leading_space(' 2016-10-31 * "Test" "Test"') == " "
assert leading_space("\r\t\r\ttest") == "\r\t\r\t"
assert leading_space("\ntest") == "\n"
def test_leading_space():
assert leading_space("test") == ""
assert leading_space(" test") == " "
assert leading_space(" test") == " "
assert leading_space(' 2016-10-31 * "Test" "Test"') == " "
assert leading_space("\r\t\r\ttest") == "\r\t\r\t"
assert leading_space("\ntest") == "\n"
def test_leading_space():
assert leading_space("test") == ""
assert leading_space(" test") == " "
assert leading_space(" test") == " "
assert leading_space(' 2016-10-31 * "Test" "Test"') == " "
assert leading_space("\r\t\r\ttest") == "\r\t\r\t"
assert leading_space("\ntest") == "\n"