Skip to content

Commit

Permalink
Moved WordSplitter into different package
Browse files Browse the repository at this point in the history
  • Loading branch information
mrapplexz committed Jun 2, 2019
1 parent 89f1034 commit 2de59c6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/commonMain/kotlin/net/pearx/kasechange/CaseFormat.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

package net.pearx.kasechange

import net.pearx.kasechange.splitter.splitToWords

/**
* An enumeration that represents a case format that can be used to join a collection of words into one string.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
* You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package net.pearx.kasechange
package net.pearx.kasechange.splitter

import net.pearx.kasechange.isLowerCasePlatform
import net.pearx.kasechange.isUpperCasePlatform

private val BOUNDARIES = arrayOf(' ', '-', '_', '.')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

package net.pearx.kasechange.test

import net.pearx.kasechange.splitToWords
import net.pearx.kasechange.splitter.splitToWords
import kotlin.test.Test
import kotlin.test.assertEquals

Expand Down

0 comments on commit 2de59c6

Please sign in to comment.