Skip to content

Commit

Permalink
Fix test case on Windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
RauliL committed Sep 7, 2024
1 parent ae1f1dc commit d1636a1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ jobs:
with:
build-dir: ${{ runner.workspace }}/build
build-type: Release
configure-options: -DCMAKE_CXX_FLAGS="-std=c++17"
run-test: true
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.12)

PROJECT(
PeeloXdg
VERSION 0.1.0
VERSION 0.2.2
DESCRIPTION "C++17 replacement for libxdg-basedir"
HOMEPAGE_URL "https://github.com/peelonet/peelo-xdg"
LANGUAGES CXX
Expand Down
2 changes: 1 addition & 1 deletion test/test_single_paths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static void
test_home_dir_with_home_drive_and_path()
{
_putenv("HOME=");
_putenv("HOMEDRIVE=C:\\");
_putenv("HOMEDRIVE=C:");
_putenv("HOMEPATH=test");

assert(peelo::xdg::home_dir() == path("C:\\test"));
Expand Down

0 comments on commit d1636a1

Please sign in to comment.