cqframework / cqframework/cql-tests

Add test for split with empty string, empty separator, and empty both

Open Beginner friendly
#131 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
7
Forks
8
Avg merge
12d 5h
Merged PRs (30d)
2

Description

Add tests for Splitting an empty string with a non-empty separator, an non-empty string with an empty separator, and empty string and separator:

''.split(',') // { '' }
'ABC'.split('') // { 'A', 'B', 'C' }
''.split('') // { '' }

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing tests for the split operation in this repository and review how CQL string cases are expressed. Add coverage for the three empty-string and empty-separator examples, and consider the work done when the tests assert the listed results and pass.

Written by the indexing model from the issue text.

Assessment

Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.