Skip to content

Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin, PowerShell and Swift.

196 B
Raw Blame
require "minitest/autorun"
require_relative "../lib/textkit"

class WordsTest < Minitest::Test
  def test_slugify
    assert_equal "hello-world", Textkit::Words.slugify("Hello, World!")
  end
end