Skip to content

Commit

Permalink
test: Removes measure test
Browse files Browse the repository at this point in the history
This test is creates unreliable CI since we can't ensure performance of the runner machine.
  • Loading branch information
NeedleInAJayStack committed Jan 19, 2025
1 parent 767ca7f commit 52088aa
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Tests/GraphQLTests/LanguageTests/LexerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -214,15 +214,6 @@ class LexerTests: XCTestCase {
XCTAssertEqual(token, expected)
}

func testLongStrings() throws {
measure {
let token = try! lexOne("\"\(String(repeating: "123456", count: 10000))\"")

XCTAssertEqual(token.start, 0)
XCTAssertEqual(token.end, 60002)
}
}

func testStringErrors() throws {
XCTAssertThrowsError(try lexOne("\""))
// "Syntax Error GraphQL (1:2) Unterminated string"
Expand Down

0 comments on commit 52088aa

Please sign in to comment.