Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Jul 30, 2024
1 parent 97bfd39 commit da50161
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: 2.9.3
actions-cache-folder: '.xmake-cache'

- name: configure
shell: cmd
Expand Down
2 changes: 0 additions & 2 deletions test/utilities/test_base64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ TEST_CASE("test_base64_encode") {
CHECK_EQ(base64_encode(src), dst);
}

#if 0
TEST_CASE("test_base64_decode") {
// C++17 string_view 无法正确处理 null_ptr
// auto x = std::string_view(nullptr);
Expand All @@ -51,4 +50,3 @@ TEST_CASE("test_base64_decode") {
"cHFyc3R1dnd4eXo=");
CHECK_EQ(base64_decode(dst), src);
}
#endif
2 changes: 2 additions & 0 deletions test/utilities/test_os.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

using namespace hku;

#if 0
static void createTestFile(const std::string &filename) {
FILE *fp = fopen(HKU_PATH(filename).c_str(), "wb");
int len = 10;
Expand Down Expand Up @@ -159,3 +160,4 @@ TEST_CASE("test_getDiskFreeSpace") {
HKU_INFO("disk free space /: {}", getDiskFreeSpace("/"));
HKU_INFO("disk free space .: {}", getDiskFreeSpace("."));
}
#endif

0 comments on commit da50161

Please sign in to comment.