모듈 토크:스트링/테스트 케이스

Module talk

10개 중 2개는 테스트에 실패했습니다.

test_gsub
시험 라이브 샌드박스 기대됩니다
checkY {{#http:ustring gsub hello world x }} 안녕하세요 x 안녕하세요 x 안녕하세요 x
checkY {{#http:ustring gsub hello world x }} 안녕 세계 안녕 세계 안녕 세계
test_onerror(test_onerror)
시험 라이브 샌드박스 기대됩니다
checkY {{#subring:ustring sub hello 1 3 on error = foo}
☒N {{#hello:ustring sub s1 = hello bar 3 on error = foo} Lua 오류: 인수 #2에서 'sub'로 잘못되었습니다(숫자가 예상되고 문자열이 있음). 후우 후우
☒N {{#substring:ustring sub s1 = hello 0 on error = foo} Lua 오류: 인수 #3에서 'sub'(숫자가 예상되고 문자열이 있음)로 잘못되었습니다. 후우 후우
test_sub
시험 라이브 샌드박스 기대됩니다
checkY {{#subhello: ustring sub hello 1 3}}
checkY {{#hello: ustring sub s1 = 안녕하세요 1 3}} 헬프 헬프 헬프
checkY {{#substring: ustring sub s1 = 안녕하세요 0 3}} 헬프 헬프 헬프
checkY {{#substring: ustring sub s1 = 안녕하세요 - 3 }}
checkY {{#sub:ustring sub hello - 3 }} 보다 보다 보다

모듈 개선에 대한 논의를 시작합니다.Ustring / testcase 페이지

토론을 시작하다