Fix buggy error message

This commit is contained in:
Jesse Alama 2022-02-22 15:52:36 +01:00 committed by Rick Waldron
parent 918cefcd09
commit ecd24faa82
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ Object.entries(instances).forEach(([typeName, instance]) => {
assert.throws(
TypeError,
() => { us.formatRange(instance, anotherInstance); },
'different types argument is bad (' + typeName + ' and ' + anotherTypeName
'formatRange: bad arguments (' + typeName + ' and ' + anotherTypeName + ')'
);
}
});