MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_default_values

Function test_default_values

atomic-core/src/record/workflow/options.rs:398–413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

396
397 #[test]
398 fn test_default_values() {
399 let opts = WorkflowOptions::default();
400
401 assert_eq!(opts.algorithm(), Algorithm::Myers);
402 assert!(opts.check_mtime());
403 assert!(opts.detect_moves());
404 assert!(opts.detect_encoding());
405 assert!(opts.detect_permissions());
406 assert!(opts.prefix().is_empty());
407 assert_eq!(
408 opts.max_file_size(),
409 Some(WorkflowOptions::DEFAULT_MAX_FILE_SIZE)
410 );
411 assert!(!opts.force_rediff());
412 assert!(!opts.ignore_missing());
413 }
414
415 // Builder Tests
416

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected