1
Fork 0

Only run decode_typed_test on stable.

This commit is contained in:
Alex Helfet 2019-04-13 16:50:12 +01:00
parent fd16d572ee
commit 617bf715a2
2 changed files with 6 additions and 2 deletions

View file

@ -38,4 +38,8 @@ fi
cargo +${TC} test -p framed --verbose --lib --features=trace;
cargo +${TC} doc -p framed --verbose --no-deps;
TC=${TC} ${REPO_DIR}/bin/decode_typed_test;
if [[ "${TC}" == "stable" ]]; then
# Only run decode_typed_test on stable because currently the Debug format
# is different between stable and nightly and stable is the default for decode_typed.
TC=${TC} ${REPO_DIR}/bin/decode_typed_test;
fi

View file

@ -48,7 +48,7 @@ expect="" test_case;
name="1 frame --out-format=Debug" flags="" \
expect="Test {
a: 1,
b: 2,
b: 2
}" test_case;
( cat "${TEST_OUT}" ) | \