Skip to content

Commit

Permalink
CI: fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvielamythepaut committed Jul 24, 2020
1 parent 554a8b7 commit 7d01c49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/contour.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ int main() {
mag_add_warning_listener(&data, myprint_warning);
mag_add_error_listener(&data, myprint_error);
mag_open();
const char* formats[NUM_FORMATS];
const char* formats[3];
formats[0] = "ps";
formats[1] = "png";
formats[2] = "pdf";


mag_set1c("output_formats", formats, NUM_FORMATS);


Expand All @@ -63,7 +64,7 @@ int main() {
mag_setc("contour", "on");
mag_setc("contour_line_colour", "sky");
mag_setc("CONTOUR_HIGHLIGHT_COLOUR", "GREEN");
mag_setc("dontour_label", "on");
mag_setc("contour_label", "on");
mag_cont();


Expand Down

0 comments on commit 7d01c49

Please sign in to comment.