File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -110,14 +110,16 @@ FOSSIL_TEST_CASE(c_test_jellyfish_chain_save_and_load) {
110110 fossil_jellyfish_learn (& chain1 , "alpha" , "beta" );
111111 fossil_jellyfish_learn (& chain1 , "gamma" , "delta" );
112112
113- const char * filepath = "test_jellyfish_chain_save.dat" ;
113+ const char * filepath = "test_jellyfish_chain.fish" ; // Updated to .fish extension
114+
114115 int save_result = fossil_jellyfish_save (& chain1 , filepath );
115116 ASSUME_ITS_TRUE (save_result == 1 );
116117
117118 int load_result = fossil_jellyfish_load (& chain2 , filepath );
118119 ASSUME_ITS_TRUE (load_result == 1 );
119120
120121 ASSUME_ITS_EQUAL_SIZE (chain2 .count , 2 );
122+
121123 ASSUME_ITS_EQUAL_CSTR (chain2 .memory [0 ].input , "alpha" );
122124 ASSUME_ITS_EQUAL_CSTR (chain2 .memory [0 ].output , "beta" );
123125 ASSUME_ITS_EQUAL_CSTR (chain2 .memory [1 ].input , "gamma" );
You can’t perform that action at this time.
0 commit comments