Merge pull request #11 from MSch/test-sqlite-version
Tests fail on OS X 10.9 because system sqlite3 is used
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
language: erlang
|
||||
script: "rebar compile eunit"
|
||||
otp-release:
|
||||
otp_release:
|
||||
- R16B02
|
||||
- R16B01
|
||||
- R16B
|
||||
- R15B01
|
||||
- R15B
|
||||
- R14B04
|
||||
- R14B03
|
||||
- R14B01
|
||||
- 17.0
|
||||
script: "rebar compile eunit"
|
||||
|
||||
@@ -273,7 +273,12 @@ error1_msg_test() ->
|
||||
{error, {cantopen, _Msg3}} = esqlite3:open("/dit/bestaat/niet"),
|
||||
ok.
|
||||
|
||||
|
||||
sqlite_version_test() ->
|
||||
{ok, Db} = esqlite3:open(":memory:"),
|
||||
{ok, Stmt} = esqlite3:prepare("select sqlite_version() as sqlite_version;", Db),
|
||||
{sqlite_version} = esqlite3:column_names(Stmt),
|
||||
{row, {<<"3.8.5">>}} = esqlite3:step(Stmt),
|
||||
ok.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user