Skip to content

Commit

Permalink
Revert "fix off by one in out of memory test" (#98)
Browse files Browse the repository at this point in the history
* Revert "Update Docs (#79)"

This reverts commit 2ea8fd7.

* Revert "fix off by one in out of memory test (#96)"

This reverts commit e38b2dd.
  • Loading branch information
jjthomas committed Mar 7, 2017
1 parent 2ea8fd7 commit dd2c830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ fn outofmemory_error_test() {
let value = CString::new("50000").unwrap().into_raw() as *const c_char;
unsafe { weld_conf_set(conf, key, value) };

let x = vec![4; 50004 / 4 as usize];
let x = vec![4; 50000 / 4 as usize];
let ref input_data = WeldVec {
data: x.as_ptr() as *const i32,
len: x.len() as i64,
Expand Down

0 comments on commit dd2c830

Please sign in to comment.