Skip to content

Commit

Permalink
Merge pull request #10364 from christianpeel/cbp/i18nTrivialTest
Browse files Browse the repository at this point in the history
RFC: Added test/i18n.jl: simple but full coverage of base/i18.jl
  • Loading branch information
tkelman committed Mar 7, 2015
2 parents 1f1fb4d + ee8cc62 commit 323dedb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/choosetests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function choosetests(choices = [])
"replutil", "sets", "test", "goto", "llvmcall", "grisu",
"nullable", "meta", "profile", "libgit2", "docs", "markdown",
"base64", "parser", "serialize", "functors", "char", "misc",
"enums", "cmdlineargs"
"enums", "cmdlineargs", "i18n"
]

if isdir(joinpath(JULIA_HOME, Base.DOCDIR, "examples"))
Expand Down
5 changes: 5 additions & 0 deletions test/i18n.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
using Base.I18n

@test locale()==""
locale("en_US")
@test locale()=="en_US"

0 comments on commit 323dedb

Please sign in to comment.