bazel-skylib/tests
Matt 28d6034185
fix: Fix a bug in globs when middle is non-empty, but right is empty. (#516)
For example, if you try to match `*a*` against `ab`, then we check:
```
left = ""
middle = "a"
right = ""
middle in name[len(left):len(name)-len(right)]:
"a" in "ab"[len(""):len(name)-len("")]:
"a" in "ab"[0:-0]
"a" in "" => False
```

The problem here is that negative numbers in python index from the back, but -0 is not a negative number, so it always results in the empty string.
2024-05-31 07:30:03 +00:00
..
bzl_library Re-add `licenses()` - internal license checker still requires it :/ (#506) 2024-05-02 14:38:05 -04:00
common_settings Re-add `licenses()` - internal license checker still requires it :/ (#506) 2024-05-02 14:38:05 -04:00
copy_directory Re-add `licenses()` - internal license checker still requires it :/ (#506) 2024-05-02 14:38:05 -04:00
copy_file Re-add `licenses()` - internal license checker still requires it :/ (#506) 2024-05-02 14:38:05 -04:00
diff_test Re-add `licenses()` - internal license checker still requires it :/ (#506) 2024-05-02 14:38:05 -04:00
directory fix: Fix a bug in globs when middle is non-empty, but right is empty. (#516) 2024-05-31 07:30:03 +00:00
expand_template
native_binary
run_binary
select_file Re-add `licenses()` - internal license checker still requires it :/ (#506) 2024-05-02 14:38:05 -04:00
write_file Re-add `licenses()` - internal license checker still requires it :/ (#506) 2024-05-02 14:38:05 -04:00
BUILD Re-add `licenses()` - internal license checker still requires it :/ (#506) 2024-05-02 14:38:05 -04:00
analysis_test_test.sh
build_test_tests.bzl
collections_tests.bzl
common_settings_test.sh
common_settings_tests.bzl
dicts_tests.bzl
modules_test.bzl
new_sets_tests.bzl
partial_tests.bzl
paths_tests.bzl Add is_normalized and starts_with to paths module (#514) 2024-05-29 15:40:38 +02:00
selects_tests.bzl
shell_tests.bzl
structs_tests.bzl
subpackages_tests.bzl Copy rules_directory to bazel-skylib. (#510) 2024-05-29 07:24:27 +02:00
types_tests.bzl
unittest.bash
unittest_test.sh
unittest_tests.bzl
versions_tests.bzl