mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-11-18 21:40:30 +00:00
Get test bundle from Constants and make them a class
This commit is contained in:
1 file changed
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
struct Constants {
|
||||
class Constants {
|
||||
|
||||
/* Contents of test files:
|
||||
- test1: text file with "Hello, World!\n".
|
||||
@@ -42,6 +42,6 @@ struct Constants {
|
||||
return testBundle.url(forResource: name, withExtension: "answer")
|
||||
}
|
||||
|
||||
private static let testBundle: Bundle = Bundle(for: DeflateTests.self)
|
||||
private static let testBundle: Bundle = Bundle(for: Constants.self)
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user