Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lampsitter committed Sep 26, 2024
1 parent d03dbae commit ecb9235
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion egui_commonmark/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ svg = ["egui_extras/svg"]
fetch = ["egui_extras/http"]

[dev-dependencies]
eframe = { version = "0.28", default-features = false, features = ["default_fonts", "glow"] }
eframe = { version = "0.29", default-features = false, features = ["default_fonts", "glow"] }
image = { version = "0.25", default-features = false, features = ["png"] }
egui_commonmark_macros = { workspace = true } # Tests won't build otherswise

Expand Down
2 changes: 1 addition & 1 deletion egui_commonmark_macros/tests/pass/book.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use egui_commonmark_macros::commonmark_str;

// Testing all the different examples should give fairly good coverage
fn main() {
let mut cache = egui_commonmark_backend::CommonMarkCache::default();
__run_test_ui(|ui| {
let mut cache = egui_commonmark_backend::CommonMarkCache::default();
commonmark_str!(
ui,
&mut cache,
Expand Down
2 changes: 1 addition & 1 deletion egui_commonmark_macros/tests/pass/commonmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use egui_commonmark_macros::commonmark;

// Check a simple case and ensure that it returns a reponse
fn main() {
let mut cache = egui_commonmark_backend::CommonMarkCache::default();
__run_test_ui(|ui| {
let mut cache = egui_commonmark_backend::CommonMarkCache::default();
let _response: egui::InnerResponse<()> = commonmark!(ui, &mut cache, "# Hello, World");
});
}
2 changes: 1 addition & 1 deletion egui_commonmark_macros/tests/pass/commonmark_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use egui_commonmark_macros::commonmark_str;

// Check a simple case and ensure that it returns a reponse
fn main() {
let mut cache = egui_commonmark_backend::CommonMarkCache::default();
__run_test_ui(|ui| {
let mut cache = egui_commonmark_backend::CommonMarkCache::default();
let _response: egui::InnerResponse<()> = commonmark_str!(
ui,
&mut cache,
Expand Down
2 changes: 1 addition & 1 deletion egui_commonmark_macros/tests/pass/ui_hygiene.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use egui_commonmark_macros::commonmark;

// Check hygiene of the ui expression
fn main() {
let mut cache = egui_commonmark_backend::CommonMarkCache::default();
__run_test_ui(|ui| {
let mut cache = egui_commonmark_backend::CommonMarkCache::default();
egui::ScrollArea::vertical().show(ui, |ui| {
egui::Frame::none().show(ui, |not_named_ui| {
commonmark!(not_named_ui, &mut cache, "# Hello, World");
Expand Down

0 comments on commit ecb9235

Please sign in to comment.