Browse Source

Added a unit test

tags/2021-05-28
jules 9 years ago
parent
commit
16913f2cd6
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      modules/juce_core/files/juce_File.cpp

+ 1
- 0
modules/juce_core/files/juce_File.cpp View File

@@ -1075,6 +1075,7 @@ public:
expect (home.getChildFile (".././xyz") == home.getParentDirectory().getChildFile ("xyz"));
expect (home.getChildFile (".././xyz/./abc") == home.getParentDirectory().getChildFile ("xyz/abc"));
expect (home.getChildFile ("./../xyz") == home.getParentDirectory().getChildFile ("xyz"));
expect (home.getChildFile ("a1/a2/a3/./../../a4") == home.getChildFile ("a1/a4"));
{
FileOutputStream fo (tempFile);


Loading…
Cancel
Save