Skip to content

Commit

Permalink
chore: remove debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Jun 2, 2024
1 parent bdb8ca7 commit a6b1689
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ pub fn create_config_directory(project_name: &str) -> Option<PathBuf> {
pub fn create_config(project_name: &str) -> Option<PathBuf> {
let config_dir = create_config_directory(project_name)?;
let config_file = config_dir.join("ReSet.toml");
dbg!(&config_file);
if !config_file.is_file() {
let res = OpenOptions::new()
.create_new(true)
Expand Down
1 change: 0 additions & 1 deletion src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ fn test_config_dir() {
assert!(config_file.is_some());
let config_file = config_file.unwrap();
let config_file = config_file.to_str().unwrap();
dbg!(&config_file);
assert_eq!(
config_file,
xdg::BaseDirectories::new()
Expand Down
2 changes: 0 additions & 2 deletions src/utils/variant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,6 @@ fn test_variant_clone() {
#[test]
fn test_conversion_tuple() {
let mock = (25, "pingpang".to_string()).into_variant();
dbg!(&mock);
assert_eq!(mock.kind, TypeId::of::<(i32, String)>());
let converted_value = mock.to_value_cloned::<(i32, String)>();
assert!(converted_value.is_ok());
Expand All @@ -468,7 +467,6 @@ fn test_conversion_tuple() {
#[test]
fn test_conversion_tuple_same_type() {
let mock = (25, 25).into_variant();
dbg!(&mock);
assert_eq!(mock.kind, TypeId::of::<(i32, i32)>());
let converted_value = mock.to_value::<(i32, i32)>();
assert!(converted_value.is_ok());
Expand Down

0 comments on commit a6b1689

Please sign in to comment.