Konstantin8105 / c4go

Transpiling C code to Go code
MIT License
363 stars 37 forks source link

string.strstr #162

Closed Konstantin8105 closed 5 years ago

Konstantin8105 commented 5 years ago

Add test and implementation on Go for function string.h strstr Description: https://en.cppreference.com/w/c/string/byte/strstr File for test code add : c4go/tests/string.c example see #155

Konstantin8105 commented 5 years ago

How to run test for that issue:

go test -v -tags=integration -run=TestIntegrationScripts/tests/string.c
go test -v -run=TestCSTD