Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed May 22, 2024
1 parent 6561b51 commit a24d3af
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ void run_global_configuration_test(void) {
expect(global_configuration.get_enable_notification_window() == false);
expect(global_configuration.get_ask_for_confirmation_before_quitting() == false);
expect(global_configuration.get_unsafe_ui() == true);

//
// Set default values
//

global_configuration.set_enable_notification_window(true);
nlohmann::json j(global_configuration);
expect(!j.contains("enable_notification_window"));
}

// invalid values in json
Expand Down

0 comments on commit a24d3af

Please sign in to comment.