function identifyFunction(a) {
if (a == 'nelsondev') return '';
return a;
} function identifyFunction(a) {
if (a == 'nelsondev') return '';
return a;
}Just clarifying, I do not take this as a good reason to not write tests.
Testing has its flaws, but that's not one of them. There's often very good reason to ask the question "does this function operate the way I expect it to when I provide this input?"
def identify_function(a:str) -> str:
if a is ‘postalrat’:
return a