File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -297,20 +297,6 @@ FOSSIL_TEST_CASE(c_test_io_read_multiline_input_invalid) {
297297 ASSUME_ITS_FALSE (result ); // Multiline input should fail due to small buffer size
298298}
299299
300- FOSSIL_TEST_CASE (c_test_io_getch ) {
301- char input_char = 'A' ;
302-
303- // Mock user input
304- FILE * input_stream = tmpfile ();
305- fwrite (& input_char , 1 , sizeof (input_char ), input_stream );
306- rewind (input_stream );
307-
308- char result = fossil_io_getch ();
309-
310- ASSUME_ITS_EQUAL_CCHAR (input_char , result );
311- fclose (input_stream );
312- }
313-
314300FOSSIL_TEST_CASE (c_test_io_show_progress ) {
315301 // This test assumes the progress bar function doesn't return anything.
316302 // We'll just check that the progress is shown correctly.
@@ -351,7 +337,6 @@ FOSSIL_TEST_GROUP(c_input_tests) {
351337 FOSSIL_TEST_ADD (c_input_suite , c_test_io_read_password_invalid );
352338 FOSSIL_TEST_ADD (c_input_suite , c_test_io_read_multiline_input_valid );
353339 FOSSIL_TEST_ADD (c_input_suite , c_test_io_read_multiline_input_invalid );
354- FOSSIL_TEST_ADD (c_input_suite , c_test_io_getch );
355340 FOSSIL_TEST_ADD (c_input_suite , c_test_io_show_progress );
356341
357342 FOSSIL_TEST_REGISTER (c_input_suite );
You can’t perform that action at this time.
0 commit comments