File tree 1 file changed +3
-2
lines changed
packages/backend/test/e2e
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -125,9 +125,10 @@ describe('Endpoints', () => {
125
125
assert . strictEqual ( res . body . name , null ) ;
126
126
} ) ;
127
127
128
- test ( '名前の前後に空白(Unicodeのホワイトスペース )を入れてもトリムされる' , async ( ) => {
128
+ test ( '名前の前後に空白(ホワイトスペース )を入れてもトリムされる' , async ( ) => {
129
129
const res = await api ( 'i/update' , {
130
- name : ' あ い う \u0020\u00a0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000' ,
130
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#white_space
131
+ name : ' あ い う \u0009\u000b\u000c\u0020\u00a0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\ufeff' ,
131
132
} , alice ) ;
132
133
assert . strictEqual ( res . status , 200 ) ;
133
134
assert . strictEqual ( res . body . name , 'あ い う' ) ;
You can’t perform that action at this time.
0 commit comments