databricks-cli/libs/testdiff
Denis Bilenko b4ed235104
Include EvalSymlinks in SetPath and use SetPath on all paths (#2219)
## Changes
When adding path, a few things should take care of:
- symlink expansion
- forward/backward slashes, so that tests could do sed 's/\\\\/\//g' to
make it pass on Windows (see
acceptance/bundle/syncroot/dotdot-git/script)

SetPath() function takes care of both.

This PR uses SetPath() on all paths consistently.

## Tests
Existing tests.
2025-01-24 10:18:44 +00:00
..
context.go Use regular expressions for testdiff replacements (#2151) 2025-01-15 12:15:23 +01:00
context_test.go Use regular expressions for testdiff replacements (#2151) 2025-01-15 12:15:23 +01:00
golden.go Use regular expressions for testdiff replacements (#2151) 2025-01-15 12:15:23 +01:00
replacement.go Include EvalSymlinks in SetPath and use SetPath on all paths (#2219) 2025-01-24 10:18:44 +00:00
replacement_test.go Use regular expressions for testdiff replacements (#2151) 2025-01-15 12:15:23 +01:00
testdiff.go Fix incorrect TestingT.Errorf usage and enable linting for this (#2182) 2025-01-20 08:07:42 +00:00
testdiff_test.go Add tests for default-python template on different Python versions (#2025) 2024-12-20 14:40:54 +00:00