Skip to content

Commit 6906127

Browse files
committed
Export and test sr_str.
1 parent 229b01a commit 6906127

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/SQLite.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ end
3131
SQLiteDB(file,handle) = SQLiteDB(file,handle,0)
3232

3333
include("UDF.jl")
34-
export registerfunc, @scalarfunc
34+
export registerfunc, @scalarfunc, @sr_str
3535

3636

3737
function changes(db::SQLiteDB)

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ if VERSION > v"0.4.0-"
104104
@test drop(db,"temp") == EMPTY_RESULTSET
105105
end
106106

107-
r = query(db, "SELECT LastName FROM Employee WHERE BirthDate REGEXP '^\\d{4}-08'")
107+
r = query(db, sr"SELECT LastName FROM Employee WHERE BirthDate REGEXP '^\d{4}-08'")
108108
@test r.values[1][1] == "Peacock"
109109

110110
@test size(tables(db)) == (11,1)

0 commit comments

Comments
 (0)