Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
vendor
/
polib-0.2.0
/
tests
/
test.rs
blob: 2bdc8e597820588f54d28b0c31aca7ec701379ce [
file
] [
log
] [
blame
] [
edit
]
use
polib
::
po_file
;
use
std
::
path
::
Path
;
#[
test
]
fn
parse_sample_po
()
{
let
path
=
Path
::
new
(
"./tests/sample.po"
);
let
catalog
=
po_file
::
parse
(
path
).
unwrap
();
assert
!(
catalog
.
count
()
>
0
);
}