Skip to content

Commit a6089af

Browse files
committed
Update base64
1 parent 3741877 commit a6089af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/parse.bench.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import { parse } from './index';
33

44
describe('parse', () => {
55
bench('basic auth header', () => {
6-
const header = 'Basic dGVzdOnBhc3N3b3Jk'; // "test:password" in base64
6+
const header = 'Basic dGVzdDpwYXNzd29yZA=='; // "test:password" in base64
77
parse(header);
88
});
99

1010
bench('basic auth header with extra whitespace', () => {
11-
const header = ' Basic dGVzdOnBhc3N3b3Jk '; // "test:password" in base64 with extra whitespace
11+
const header = ' Basic dGVzdDpwYXNzd29yZA== '; // "test:password" in base64 with extra whitespace
1212
parse(header);
1313
});
1414

0 commit comments

Comments
 (0)