Skip to content

Commit

Permalink
Add non-regression test for serde-reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2bd committed Aug 16, 2021
1 parent 44ea348 commit c961108
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions fastpay_core/tests/format.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright (c) Facebook Inc.
// SPDX-License-Identifier: Apache-2.0

#[test]
fn test_format() {
let status = std::process::Command::new("target/debug/generate-format")
.current_dir("..")
.arg("test")
.status()
.expect("failed to execute process");
assert!(status.success());
}

0 comments on commit c961108

Please sign in to comment.