From 2ef81dc2b4b0488ad3adfaebae3472eb6e501c1a Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Mon, 27 Nov 2017 21:35:16 +0300 Subject: [PATCH] Get test bundle from Constants and make them a class --- Tests/Constants.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Constants.swift b/Tests/Constants.swift index 2b6cb6d3..9a8aa610 100644 --- a/Tests/Constants.swift +++ b/Tests/Constants.swift @@ -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) }