Skip to content

Commit

Permalink
Fixed array on test
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricioszabo committed Nov 24, 2023
1 parent c6ddd2e commit 9f390d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/fuzzy-native-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ describe('fuzzy-native', function() {
it('can match empty strings for alternate scoring', function() {
matcher.setCandidates([1, 2, 3], ["hello", "is", "it"]);
let results = matcher.match('', {algorithm: 'fuzzaldrin'});
expect(values(results)).toEqual([ 'is' 'it' 'hello' ]);
expect(values(results)).toEqual([ 'is', 'it', 'hello' ]);

results = matcher.match('i', {algorithm: 'fuzzaldrin'});
expect(values(results)).toEqual([ 'is', 'it' ]);
Expand Down

0 comments on commit 9f390d7

Please sign in to comment.