mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-25 19:01:38 +08:00
Fix failing travis build
This commit is contained in:
parent
6fffd88202
commit
66d5502308
@ -1,10 +1,4 @@
|
|||||||
language: rust
|
language: rust
|
||||||
before_install:
|
|
||||||
- sudo add-apt-repository --yes ppa:hansjorg/rust
|
|
||||||
- sudo add-apt-repository --yes ppa:cmrx64/cargo
|
|
||||||
- sudo apt-get update -qq
|
|
||||||
install:
|
|
||||||
- sudo apt-get install -qq rust-nightly cargo
|
|
||||||
script:
|
script:
|
||||||
- cargo build
|
- cargo build
|
||||||
- cargo test
|
- cargo test
|
||||||
|
@ -670,9 +670,6 @@ mod test {
|
|||||||
|
|
||||||
assert!(SqliteConnection::open_with_flags(
|
assert!(SqliteConnection::open_with_flags(
|
||||||
"file::memory:", SQLITE_OPEN_READ_ONLY|SQLITE_OPEN_URI).is_ok());
|
"file::memory:", SQLITE_OPEN_READ_ONLY|SQLITE_OPEN_URI).is_ok());
|
||||||
|
|
||||||
assert!(SqliteConnection::open_with_flags(
|
|
||||||
"/invalid", SQLITE_OPEN_READ_ONLY|SQLITE_OPEN_MEMORY).is_ok());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user