mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(tests): add Parallelization where possible (#1823)
* feat(tests): add Parallelization where possible
This commit is contained in:
parent
c0882aff84
commit
4cc0f9cc83
18 changed files with 53 additions and 2 deletions
|
@ -15,6 +15,7 @@ import (
|
|||
// A '*' in a provided string will not result in matching the strings before and after the '*' of the string provided.
|
||||
// Sample usage: In resource matching for bucket policy validation.
|
||||
func TestMatch(t *testing.T) {
|
||||
t.Parallel()
|
||||
tests := []struct {
|
||||
pattern string
|
||||
text string
|
||||
|
@ -151,6 +152,7 @@ func TestMatch(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestMatchSimple(t *testing.T) {
|
||||
t.Parallel()
|
||||
tests := []struct {
|
||||
pattern string
|
||||
name string
|
||||
|
@ -183,6 +185,7 @@ func TestMatchSimple(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestMatchSliceSimple(t *testing.T) {
|
||||
t.Parallel()
|
||||
tests := []struct {
|
||||
patterns []string
|
||||
name string
|
||||
|
@ -209,6 +212,7 @@ func TestMatchSliceSimple(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestMatchSlice(t *testing.T) {
|
||||
t.Parallel()
|
||||
tests := []struct {
|
||||
patterns []string
|
||||
name string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue