urfave-cli/altsrc
Mostyn Bramley-Moore 9eb96e77a1 Don't assume a fixed windows drive letter in tests
Prior to this change, this test was failing for me on a new windows
machine, with mismatching drive letters:

helpers_test.go:20: (C:/Users/Foo Bar/cli/altsrc/flag_test.go:195) Expected C:\path\to\source\hello (type string) - Got D:\path\to\source\hello (type string)

Rather than hard-coding the drive letter in the expected path, we can
expect the filepath.Abs'ed version.

This should fix part of #1105.
2020-04-14 07:42:42 +02:00
..
default_input_source.go Fix altsrc nil source flag 2020-03-09 13:34:05 +03:00
flag_generated.go goimports - fix import order 2019-12-30 10:26:21 +01:00
flag_test.go Don't assume a fixed windows drive letter in tests 2020-04-14 07:42:42 +02:00
flag.go Merge master @1.22.1 with v2 2019-09-13 05:17:24 +05:30
helpers_test.go Remove all Context.Global* methods 2016-05-16 10:18:15 -04:00
input_source_context.go goimports - fix import order 2019-12-30 10:26:21 +01:00
json_command_test.go goimports - fix import order 2019-12-30 10:26:21 +01:00
json_source_context.go Simplified 2020-03-12 21:20:13 +03:00
map_input_source_test.go fix ineffectual assignments 2019-12-30 20:34:27 +01:00
map_input_source.go goimports - fix import order 2019-12-30 10:26:21 +01:00
toml_command_test.go goimports - fix import order 2019-12-30 10:26:21 +01:00
toml_file_loader.go Simplified 2020-03-12 21:20:13 +03:00
yaml_command_test.go goimports - fix import order 2019-12-30 10:26:21 +01:00
yaml_file_loader.go Simplified 2020-03-12 21:20:13 +03:00