Skip to content

Commit a725c30

Browse files
authored
[raylib-test] remove set_file_text_loader (#134)
* [raylib-test] remove set_file_text_loader * [raylib-test] ci test * [ci] raylib-test doesn't need all features
1 parent d952343 commit a725c30

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libglfw3-dev libwayland-dev libsdl2-dev
2929
- name: Clone latest GLFW3
3030
run: git clone https://github.com/glfw/glfw; cd glfw; mkdir build; cd build; cmake ..; make -j$(nproc); sudo make install; cd ../..;
31-
- name: Run doc tests with all features (this also compiles README examples)
32-
run: cargo test --doc --all-features
31+
- name: Run doc tests (this also compiles README examples)
32+
run: cargo test --doc

raylib-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ license = "Zlib"
77
readme = "../README.md"
88
repository = "https://github.com/raylib-rs/raylib-rs"
99

10-
1110
[dependencies]
1211
raylib = { version = "5.5.0", path = "../raylib" }
12+
raylib_sys = { version = "5.5.0", path = "../raylib-sys" }
1313
lazy_static = "1.2.0"
1414
colored = "2.1.0"
1515

raylib-test/src/callbacks.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,4 @@ pub mod callback_tests {
148148
.unwrap();
149149
}
150150
}
151-
152-
pub fn set_file_text_loader(_: &RaylibThread) {}
153151
}

raylib-test/src/tests.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ pub fn test_runner(tests: &[&dyn Testable]) {
9191
callbacks::callback_tests::set_file_data_saver(&thread);
9292
callbacks::callback_tests::set_file_text_saver(&thread);
9393
callbacks::callback_tests::set_file_data_loader(&thread);
94-
callbacks::callback_tests::set_file_text_loader(&thread);
9594

9695
let args = std::env::args().collect::<Vec<_>>();
9796
let opts = match parse_opts(&args) {

0 commit comments

Comments
 (0)