spelling: calculate

This commit is contained in:
Josh Soref 2019-10-13 02:25:22 -04:00
parent c89d8f4ed3
commit bee9aeb900

View file

@ -57,7 +57,7 @@ class HammingDistance extends Operation {
samples = input.split(delim); samples = input.split(delim);
if (samples.length !== 2) { if (samples.length !== 2) {
throw new OperationError("Error: You can only calculae the edit distance between 2 strings. Please ensure exactly two inputs are provided, separated by the specified delimiter."); throw new OperationError("Error: You can only calculate the edit distance between 2 strings. Please ensure exactly two inputs are provided, separated by the specified delimiter.");
} }
if (samples[0].length !== samples[1].length) { if (samples[0].length !== samples[1].length) {