diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-07 22:02:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-07 22:02:59 +0300 |
commit | bbd71d4a8c95092deb9cbf4aef86722a1e9628db (patch) | |
tree | 59566c4baa2e32287fe5867e5616ca560d3f3bf5 /src/gui | |
parent | 6f7f469430ea05946a11dd41f62010961be6285e (diff) | |
download | mv-bbd71d4a8c95092deb9cbf4aef86722a1e9628db.tar.gz mv-bbd71d4a8c95092deb9cbf4aef86722a1e9628db.tar.bz2 mv-bbd71d4a8c95092deb9cbf4aef86722a1e9628db.tar.xz mv-bbd71d4a8c95092deb9cbf4aef86722a1e9628db.zip |
Fix unit tests on windows.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/browserbox_unittest.cc | 1 | ||||
-rw-r--r-- | src/gui/windowmanager_unittest.cc | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/widgets/browserbox_unittest.cc b/src/gui/widgets/browserbox_unittest.cc index 485c67ca4..8f4c04aa7 100644 --- a/src/gui/widgets/browserbox_unittest.cc +++ b/src/gui/widgets/browserbox_unittest.cc @@ -46,7 +46,6 @@ extern const char *dirSeparator; TEST_CASE("BrowserBox tests", "browserbox") { - dirSeparator = "/"; client = new Client; logger = new Logger(); ResourceManager::init(); diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc index 78bd85ab8..871b23c84 100644 --- a/src/gui/windowmanager_unittest.cc +++ b/src/gui/windowmanager_unittest.cc @@ -135,7 +135,6 @@ TEST_CASE("Windows tests", "windowmanager") setEnv("SDL_VIDEODRIVER", "dummy"); client = new Client; - dirSeparator = "/"; XML::initXML(); SDL_Init(SDL_INIT_VIDEO); logger = new Logger(); |