Skip to content

Commit

Permalink
Merge pull request hylo-lang#209 from val-lang/dead-test
Browse files Browse the repository at this point in the history
Dead code
  • Loading branch information
kyouko-taiga authored Jan 7, 2023
2 parents 83ded08 + 89b3c22 commit f98d401
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Tests/ValTests/ParserTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -308,15 +308,6 @@ final class ParserTests: XCTestCase {
XCTAssertNotNil(decl.whereClause)
}

// func testAssociatedValueDeclWithWhereClauseSansHint() throws {
// let input = SourceFile(contents: "value foo where foo > bar")
// let (declID, ast) = try input.parseWithDeclPrologue(
// inContext: .traitBody,
// with: Parser.parseAssociatedValueDecl)
// let decl = try XCTUnwrap(ast[declID])
// XCTAssertNotNil(decl.whereClause)
// }

func testAssociatedValueDeclWithDefault() throws {
let input = SourceFile(contents: "value foo = 42")
let (declID, ast) = try input.parseWithDeclPrologue(
Expand Down

0 comments on commit f98d401

Please sign in to comment.