We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2d387b commit c7466eaCopy full SHA for c7466ea
1 file changed
Tests/SQLiteTests/SQLiteDatabaseTests.swift
@@ -516,7 +516,7 @@ final class SQLiteDatabaseTests: XCTestCase {
516
517
try database.execute(raw: _createTableWithIDAsStringAndNullableString)
518
519
- let invalidJSON = "\"text\": What is this supposed to be?"
+ let invalidJSON = "\"text\\: What is this supposed to be?"
520
let write: SQL = "INSERT INTO test VALUES (:id, json(:string));"
521
let args: SQLiteArguments = ["id": .text("1"), "string": .text(invalidJSON)]
522
XCTAssertThrowsError(try database.write(write, arguments: args))
0 commit comments