Skip to content

Commit

Permalink
Use portable path.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejball committed Jan 15, 2025
1 parent 1ad04bf commit 95f4f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/logoshft/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ mod tests {

#[test]
fn test_count_tokens() {
let tokenizer_json = fs::read("..\\..\\tests\\tokenizer.json").unwrap();
let tokenizer_json = fs::read("../../tests/tokenizer.json").unwrap();
let tokenizer_cstr = CString::new(tokenizer_json).unwrap();
let handle = create_tokenizer(tokenizer_cstr.as_ptr());
assert!(!handle.is_null());
Expand Down

0 comments on commit 95f4f72

Please sign in to comment.