Skip to content

Commit

Permalink
Update to make travis happy
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed Aug 21, 2015
1 parent 595ae57 commit 83f3a21
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions source/inilike.d
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@ private alias KeyValueTuple = Tuple!(string, "key", string, "value");
///
unittest
{
environment["LANG"] = "ru_RU";
assert(currentLocale() == "ru_RU");
environment["LC_ALL"] = "de_DE";
assert(currentLocale() == "de_DE");
environment["LC_CTYPE"] = "fr_BE";
assert(currentLocale() == "fr_BE");
if (environment.get("CI") != "true") { //for some reason it can't set environment variables in Travis CI
environment["LANG"] = "ru_RU";
assert(currentLocale() == "ru_RU");
environment["LC_ALL"] = "de_DE";
assert(currentLocale() == "de_DE");
environment["LC_CTYPE"] = "fr_BE";
assert(currentLocale() == "fr_BE");
}
}

/**
Expand Down

0 comments on commit 83f3a21

Please sign in to comment.