Skip to content

Commit

Permalink
Locale.Message: Make sure non-existent translation falls back
Browse files Browse the repository at this point in the history
  • Loading branch information
ujihisa committed Jun 10, 2018
1 parent 0e695f7 commit 0860074
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Locale/Message.vimspec
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ Describe Locale.Message
Assert Equals(m.get('hello'), 'ciao')
call m.load('en')
Assert Equals(m.get('hello'), 'Hello')
call m.load('es') " does not exist
Assert Equals(m.get('hello'), 'hello')
End
End

Expand Down

0 comments on commit 0860074

Please sign in to comment.