Use newly merged inheritance spec tests

This commit is contained in:
Adam Fowler
2021-05-03 15:34:39 +01:00
parent 4a78d44712
commit a2569dd667
4 changed files with 3 additions and 5 deletions

View File

@@ -11,6 +11,7 @@
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
import Foundation
protocol HBMustacheCustomRenderable {

View File

@@ -12,7 +12,6 @@
//
//===----------------------------------------------------------------------===//
/// Lambda function. Can add this to object being rendered to filter contents of objects.
///
/// See http://mustache.github.io/mustache.5.html for more details on

View File

@@ -11,6 +11,7 @@
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
import Foundation
extension HBMustacheTemplate {

View File

@@ -136,9 +136,6 @@ final class MustacheSpecTests: XCTestCase {
}
func testInheritanceSpec() throws {
let url = URL(
string: "https://raw.githubusercontent.com/mustache/spec/ab227509e64961943ca374c09c08b63f59da014a/specs/inheritance.json"
)!
try self.testSpec(url: url)
try self.testSpec(name: "~inheritance")
}
}