Skip to content

Commit

Permalink
意図的にテストを失敗させる
Browse files Browse the repository at this point in the history
  • Loading branch information
munierujp authored Feb 3, 2024
1 parent 5c49d21 commit 146cc6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/displayHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export function getNowYMD(dt:Date, locale?:string):string{
const hh = ("00" + dt.getHours()).slice(-2);
const mm = ("00" + dt.getMinutes()).slice(-2);
const result = y + "年" + m + "月" + d + "日" + hh + "時" + mm + "分";
return result
// TODO: 意図的に失敗するようにしている
return result + '_bar'
case 'en':
return dt.toLocaleString('en-JP');
case 'es':
Expand Down

0 comments on commit 146cc6c

Please sign in to comment.