Use newly merged inheritance spec tests
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
protocol HBMustacheCustomRenderable {
|
protocol HBMustacheCustomRenderable {
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
|
||||||
/// Lambda function. Can add this to object being rendered to filter contents of objects.
|
/// 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
|
/// See http://mustache.github.io/mustache.5.html for more details on
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
extension HBMustacheTemplate {
|
extension HBMustacheTemplate {
|
||||||
|
|||||||
@@ -136,9 +136,6 @@ final class MustacheSpecTests: XCTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func testInheritanceSpec() throws {
|
func testInheritanceSpec() throws {
|
||||||
let url = URL(
|
try self.testSpec(name: "~inheritance")
|
||||||
string: "https://raw.githubusercontent.com/mustache/spec/ab227509e64961943ca374c09c08b63f59da014a/specs/inheritance.json"
|
|
||||||
)!
|
|
||||||
try self.testSpec(url: url)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user