Skip to content

Commit

Permalink
test: Fix the config flags in the test repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dandxy89 committed Nov 16, 2024
1 parent 4251941 commit 90ad23b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/diff_feature.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#![cfg(feature = "diff")]
#![cfg(feature = "serde")]

use std::path::PathBuf;

use lp_parser_rs::{
Expand All @@ -6,7 +9,6 @@ use lp_parser_rs::{
};

#[test]
#[cfg_attr(not(all(feature = "diff", feature = "serde")), ignore)]
fn test_coefficient() {
use diff::Diff;

Expand All @@ -17,7 +19,6 @@ fn test_coefficient() {
}

#[test]
#[cfg_attr(not(all(feature = "diff", feature = "serde")), ignore)]
fn test_constraint() {
use diff::Diff;

Expand All @@ -38,7 +39,6 @@ fn test_constraint() {
}

#[test]
#[cfg_attr(not(all(feature = "diff", feature = "serde")), ignore)]
fn test_file_comparison() {
use diff::Diff;

Expand Down
2 changes: 2 additions & 0 deletions tests/test_from_file.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg(feature = "serde")]

use std::path::PathBuf;

use lp_parser_rs::{
Expand Down

0 comments on commit 90ad23b

Please sign in to comment.