Closed ALiwoto closed 3 years ago
Are you sure you fixed it? You clearly didn't test-compiled it and said everything is fixed, did you?
ammarfaizi2@integral:~/project/now/GNUWeebBot$ make test
--- Build debug mode
[====] Synthesis: Tested: 3 | Passing: 3 | Failing: 0 | Crashing: 0
[====] Synthesis: Tested: 5 | Passing: 5 | Failing: 0 | Crashing: 0
[====] Synthesis: Tested: 6 | Passing: 6 | Failing: 0 | Crashing: 0
CC tests/006_tg_event/tg_event_text.o
/home/ammarfaizi2/project/now/GNUWeebBot/tests/006_tg_event/tg_event_text.c:132:2: error: expected ‘}’ before ‘{’ token
132 | {test_tg_event_text_002_simple, 150},
| ^
/home/ammarfaizi2/project/now/GNUWeebBot/tests/006_tg_event/tg_event_text.c:130:41: note: to match this ‘{’
130 | struct list_func tg_event_text_list[] = {
| ^
/home/ammarfaizi2/project/now/GNUWeebBot/tests/006_tg_event/tg_event_text.c:68:12: warning: ‘test_tg_event_text_002_simple’ defined but not used [-Wunused-function]
68 | static int test_tg_event_text_002_simple(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [/home/ammarfaizi2/project/now/GNUWeebBot/tests/006_tg_event/Makefile:31: /home/ammarfaizi2/project/now/GNUWeebBot/tests/006_tg_event/tg_event_text.o] Error 1
make: *** [/home/ammarfaizi2/project/now/GNUWeebBot/tests/Makefile:21: test] Error 2
ammarfaizi2@integral:~/project/now/GNUWeebBot$
Merged, thanks.
let's go for next part what's the next step??
I will fix the unit test first, wait for it. We will be working with video and voice event.
@ammarfaizi2 nice, good luck and I'm looking forward for it
added the sticker event parser, also forward parameters and new chat parameters.