mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Implement case insensitive search in the samples index (#1518)
Closes #1517
This commit is contained in:
@@ -107,7 +107,9 @@ void main() {
|
||||
|
||||
// Test if various queries match these attributes
|
||||
expect(matchesQuery('foo', attributes), false);
|
||||
expect(matchesQuery('Foo', attributes), false);
|
||||
expect(matchesQuery('kittens', attributes), true);
|
||||
expect(matchesQuery('Kittens', attributes), true);
|
||||
expect(matchesQuery('tag:cats', attributes), true);
|
||||
expect(matchesQuery('tag:dogs', attributes), false);
|
||||
expect(matchesQuery('package:path', attributes), true);
|
||||
|
||||
Reference in New Issue
Block a user