mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 13:51:29 +01:00
7 lines
201 B
JavaScript
7 lines
201 B
JavaScript
|
import {pathEscapeSegments} from './url.js';
|
||
|
|
||
|
test('pathEscapeSegments', () => {
|
||
|
expect(pathEscapeSegments('a/b/c')).toEqual('a/b/c');
|
||
|
expect(pathEscapeSegments('a/b/ c')).toEqual('a/b/%20c');
|
||
|
});
|