Showing 1 of 1 files from the diff.

@@ -1957,7 +1957,7 @@
Loading
1957 1957
            val = String::from("aaa").into_bytes();
1958 1958
            id = tx.insert("def", &val).expect("error on insert value");
1959 1959
            let mut prepared = tx.prepare().expect("error on commit prepare");
1960 -
            std::mem::replace(&mut prepared.finalize, None);
1960 +
            let _replaced = std::mem::replace(&mut prepared.finalize, None);
1961 1961
        }
1962 1962
        {
1963 1963
            let persy = Persy::open("./target/test_recover_prepared.persy", Config::new()).unwrap();
@@ -1985,7 +1985,7 @@
Loading
1985 1985
            val = String::from("aaa").into_bytes();
1986 1986
            id = tx.insert("def", &val).expect("error on insert value");
1987 1987
            let mut prepared = tx.prepare().expect("error on commit prepare");
1988 -
            std::mem::replace(&mut prepared.finalize, None);
1988 +
            let _replaced = std::mem::replace(&mut prepared.finalize, None);
1989 1989
        }
1990 1990
        {
1991 1991
            let persy = Persy::open("./target/test_double_recover_prepared.persy", Config::new()).unwrap();
@@ -1994,7 +1994,7 @@
Loading
1994 1994
            val1 = String::from("bbbb").into_bytes();
1995 1995
            id1 = tx.insert("def", &val1).expect("error on insert value");
1996 1996
            let mut prepared = tx.prepare().expect("error on commit prepare");
1997 -
            std::mem::replace(&mut prepared.finalize, None);
1997 +
            let _replaced = std::mem::replace(&mut prepared.finalize, None);
1998 1998
        }
1999 1999
2000 2000
        {
@@ -2032,7 +2032,7 @@
Loading
2032 2032
            val_1 = String::from("bbb").into_bytes();
2033 2033
            tx.update("def", &id_pers_update, &val_1).expect("delete record works");
2034 2034
            let mut prepared = tx.prepare().expect("error on commit prepare");
2035 -
            std::mem::replace(&mut prepared.finalize, None);
2035 +
            let _replaced = std::mem::replace(&mut prepared.finalize, None);
2036 2036
        }
2037 2037
        {
2038 2038
            let persy = Persy::open_with_recover("./target/test_recover_tx_id.persy", Config::new(), |t_id| {
@@ -2077,7 +2077,7 @@
Loading
2077 2077
                .expect("error on transaction begin");
2078 2078
            id = tx.insert("def", &val).expect("error on insert value");
2079 2079
            let mut prepared = tx.prepare().expect("error on commit prepare");
2080 -
            std::mem::replace(&mut prepared.finalize, None);
2080 +
            let _replaced = std::mem::replace(&mut prepared.finalize, None);
2081 2081
2082 2082
            let mut tx = persy
2083 2083
                .begin_with(TransactionConfig::new().set_transaction_id(tx_id_1.clone()))
@@ -2087,7 +2087,7 @@
Loading
2087 2087
            val_1 = String::from("bbb").into_bytes();
2088 2088
            tx.update("def", &id_pers_update, &val_1).expect("delete record works");
2089 2089
            let mut prepared = tx.prepare().expect("error on commit prepare");
2090 -
            std::mem::replace(&mut prepared.finalize, None);
2090 +
            let _replaced = std::mem::replace(&mut prepared.finalize, None);
2091 2091
        }
2092 2092
        {
2093 2093
            let mut recover = Persy::recover("./target/test_recover_tx_choice.persy", Config::new()).unwrap();
Files Coverage
src 92.95%
tests 98.56%
Project Totals (27 files) 94.00%
Notifications are pending CI completion. Waiting for GitLab's status webhook to queue notifications. Push notifications now.
1
coverage:
2
  status:
3
    project:
4
      default:
5
        target: 80%
6
        threshold: 1.0%
7
    patch: off
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading