mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 21:02:35 +00:00
rename bitmatrix test cases mod
This commit is contained in:
@@ -71,7 +71,7 @@ impl Writer for UPCAWriter {
|
||||
*/
|
||||
#[cfg(test)]
|
||||
mod UPCAWriterTestCase {
|
||||
use crate::{common::BitMatrixTestCase, BarcodeFormat, Writer};
|
||||
use crate::{common::bit_matrix_test_case, BarcodeFormat, Writer};
|
||||
|
||||
use super::UPCAWriter;
|
||||
|
||||
@@ -87,7 +87,7 @@ mod UPCAWriterTestCase {
|
||||
0,
|
||||
)
|
||||
.expect("ok");
|
||||
assert_eq!(testStr, BitMatrixTestCase::matrix_to_string(&result));
|
||||
assert_eq!(testStr, bit_matrix_test_case::matrix_to_string(&result));
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -102,6 +102,6 @@ mod UPCAWriterTestCase {
|
||||
0,
|
||||
)
|
||||
.expect("ok");
|
||||
assert_eq!(testStr, BitMatrixTestCase::matrix_to_string(&result));
|
||||
assert_eq!(testStr, bit_matrix_test_case::matrix_to_string(&result));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user