Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
matyalatte committed Jun 8, 2024
1 parent b4864bb commit aac982e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions include/env_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ _ENVU_EXTERN int envuPathExists(const char *path);

/**
* Gets a full path of the specified path.
* It resolves dot segments but ignores symlinks and the PATH variable.
* It resolves dot segments but ignores symlinks.
*
* @note Strings that are returned from this method should be freed with envuFree().
*
Expand All @@ -83,8 +83,7 @@ _ENVU_EXTERN char *envuGetFullPath(const char *path);

/**
* Gets a real path of the specified path.
* It can resolve symlinks and refer the PATH variables.
* But it fails if the specified path does not exist.
* It can resolve symlinks but it fails if the specified path does not exist.
*
* @warning This function can NOT resolve symlinks on Windows.
*
Expand Down
2 changes: 1 addition & 1 deletion tests/util_tests.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class SymlinkTest : public ::testing::Test {
ASSERT_STREQ(TRUE_BUILD_DIR, build_dir);
envuFree(build_dir);

// resotre cwd
// restore cwd
int ret = envuSetCwd(cwd);
EXPECT_EQ(0, ret);
envuFree(cwd);
Expand Down

0 comments on commit aac982e

Please sign in to comment.