pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/ivanceras/r2d2-sqlite/commit/267198356901b95fe590f2766ba3be26fb05a90b

css" /> Fix mistakes · ivanceras/r2d2-sqlite@2671983 · GitHub
Skip to content

Commit 2671983

Browse files
authored
Fix mistakes
1 parent bace2bb commit 2671983

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fn test_basic() {
4444

4545
#[test]
4646
fn test_file() {
47-
let manager = SqliteConnectionManager::memory();
47+
let manager = SqliteConnectionManager::file("file.db");
4848
let pool = r2d2::Pool::builder().max_size(2).build(manager).unwrap();
4949

5050
let (s1, r1) = mpsc::channel();
@@ -130,7 +130,7 @@ fn test_with_init() {
130130

131131
#[test]
132132
fn test_in_memory_db_is_shared() {
133-
let manager = SqliteConnectionManager::file("file.db");
133+
let manager = SqliteConnectionManager::memory();
134134
let pool = r2d2::Pool::builder().max_size(10).build(manager).unwrap();
135135

136136
pool.get()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy