Use newly merged inheritance spec tests
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import Foundation
|
||||
|
||||
protocol HBMustacheCustomRenderable {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import Foundation
|
||||
|
||||
extension HBMustacheTemplate {
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user