Skip to content

Commit f7d1b5d

Browse files
committed
fix: error message typo introduced in a9a89f8
1 parent 21db633 commit f7d1b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sqlite3/statement.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Statement
2626
# statement (i.e., separated by semicolons), then the #remainder property
2727
# will be set to the trailing text.
2828
def initialize(db, sql)
29-
raise ArgumentError, "pepare called on a closed database" if db.closed?
29+
raise ArgumentError, "prepare called on a closed database" if db.closed?
3030

3131
sql = sql.encode(Encoding::UTF_8) if sql && sql.encoding != Encoding::UTF_8
3232

0 commit comments

Comments
 (0)