Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix the Rust tests
  • Loading branch information
alanjds committed Jun 9, 2019
commit 854bacf45293b06e7be4a44d980765294600976a
3 changes: 3 additions & 0 deletions vm/src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ mod tests {
#[test]
fn test_width_only() {
let expected = FormatSpec {
preconversor: None,
fill: None,
align: None,
sign: None,
Expand All @@ -628,6 +629,7 @@ mod tests {
#[test]
fn test_fill_and_width() {
let expected = FormatSpec {
preconversor: None,
fill: Some('<'),
align: Some(FormatAlign::Right),
sign: None,
Expand All @@ -643,6 +645,7 @@ mod tests {
#[test]
fn test_all() {
let expected = FormatSpec {
preconversor: None,
fill: Some('<'),
align: Some(FormatAlign::Right),
sign: Some(FormatSign::Minus),
Expand Down