We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d143018 commit ca45b18Copy full SHA for ca45b18
1 file changed
apps/server/src/command/http.rs
@@ -1922,7 +1922,7 @@ mod tests {
1922
.unwrap();
1923
let scoped_a: WorkbenchBootstrap = serde_json::from_value(bootstrap_a).unwrap();
1924
assert_eq!(scoped_a.ui_state.layout.left_width, 444.0);
1925
- assert_eq!(scoped_a.ui_state.layout.show_code_panel, true);
+ assert!(scoped_a.ui_state.layout.show_code_panel);
1926
1927
let bootstrap_b = dispatch_rpc(
1928
&app,
@@ -1936,6 +1936,6 @@ mod tests {
1936
1937
let scoped_b: WorkbenchBootstrap = serde_json::from_value(bootstrap_b).unwrap();
1938
assert_eq!(scoped_b.ui_state.layout.left_width, 320.0);
1939
- assert_eq!(scoped_b.ui_state.layout.show_code_panel, false);
+ assert!(!scoped_b.ui_state.layout.show_code_panel);
1940
}
1941
0 commit comments