-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update filter to "pg" project * add test case * patch test case * patch test case Co-authored-by: Aleksandr Malikov <[email protected]>
- Loading branch information
1 parent
9c7dd1e
commit 9eca2ad
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,6 +111,32 @@ func Test_filterReleaseFiles(t *testing.T) { | |
}, | ||
}, | ||
1, | ||
}, { | ||
"PosqtreSQL with 14.1-2.1C", | ||
args{ | ||
list: []ReleaseFileInfo{ | ||
{ | ||
"Дистрибутив СУБД PostgreSQL для Windows (64-bit) одним архивом", | ||
"/version_file?nick=AddCompPostgre&ver=14.1-2.1C&path=AddCompPostgre%5c14_1_2_1C%5cpostgresql_14.1_2.1C_x64.zip", | ||
}, { | ||
"Дистрибутив СУБД PostgreSQL для Linux x86 (64-bit) одним архивом (RPM)", | ||
"/version_file?nick=AddCompPostgre&ver=14.1-2.1C&path=AddCompPostgre%5c14_1_2_1C%5cpostgresql_14.1_2.1C_x86_64_rpm.tar.bz2", | ||
}, { | ||
"Дистрибутив СУБД PostgreSQL для Linux x86 (64-bit) (дополнительные модули) одним архивом (RPM)", | ||
"/version_file?nick=AddCompPostgre&ver=14.1-2.1C&path=AddCompPostgre%5c14_1_2_1C%5cpostgresql_14.1_2.1C_x86_64_addon_rpm.tar.bz2", | ||
}, { | ||
"Дистрибутив СУБД PostgreSQL для Linux x86 (64-bit) одним архивом (DEB)", | ||
"/version_file?nick=AddCompPostgre&ver=14.1-2.1C&path=AddCompPostgre%5c14_1_2_1C%5cpostgresql_14.1_2.1C_amd64_deb.tar.bz2", | ||
}, { | ||
"Дистрибутив СУБД PostgreSQL для Linux x86 (64-bit) (дополнительные модули) одним архивом (DEB)", | ||
"/version_file?nick=AddCompPostgre&ver=14.1-2.1C&path=AddCompPostgre%5c14_1_2_1C%5cpostgresql_14.1_2.1C_amd64_addon_deb.tar.bz2", | ||
}, | ||
}, | ||
filters: []FileFilter{ | ||
NewFileFilterMust(PostgreSQLProject, "[email protected]"), | ||
}, | ||
}, | ||
2, | ||
}, | ||
} | ||
for _, tt := range tests { | ||
|