- const nameTransitions = [
- ['bar', '&'],
- ['&', 'foo'],
- ['foo', '&'],
- ['&', 'I ❤️ ⛵️'],
- ['I ❤️ ⛵️', '...'],
- ['...', '#..'],
- ['#..', 'some name with whitespaces'],
- ['some name with whitespaces', 'some name with #2'],
- ['some name with #2', 'is this name legal? I hope it is'],
- ['is this name legal? I hope it is', 'some_file.pdf#'],
- ['some_file.pdf#', 'some_file.pdf?'],
- ['some_file.pdf?', '?some_file.pdf']
+ const names = [
+ 'bar', // initial name already set
+ '&',
+ 'foo',
+ '&',
+ 'I ❤️ ⛵️',
+ '...',
+ '#..',
+ 'some name with whitespaces',
+ 'some name with #2',
+ 'is this name legal? I hope it is',
+ 'some_file.pdf#',
+ 'some_file.pdf?',
+ '?some_file.pdf',
+ 'some%file.pdf'