Skip to content

Commit

Permalink
change deprecated func
Browse files Browse the repository at this point in the history
  • Loading branch information
kosyloa committed Apr 9, 2024
1 parent d540d9f commit a8e038f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DXFeedFrameworkTests/FeedTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ final class FeedTest: XCTestCase {

let symbol1 = try CandleSymbol.valueOf("test123")
let testString = TimeSeriesSubscriptionSymbol(symbol: symbol1, fromTime: 30).stringValue
// here is workaround for different tz on local/gh
// setting tz setenv doesnt work, because graal already intialized tz on first start(from other/previous test)
XCTAssertEqual("test123{fromTime",
testString.substring(to: testString.index(of: "=")!))
testString.substring(toIndex: testString.firstIndex(of: "=", start: 0)))
XCTAssertEqual(".030}",
testString.substring(from: testString.index(of: ".")!))
testString.substring(fromIndex: testString.firstIndex(of: ".", start: 0)))
}

func testSetGetSymbols() throws {
Expand Down

0 comments on commit a8e038f

Please sign in to comment.