Sha256: 3cc5cb775d2c809c19f12ecc025f64865e4d7378ed41103a6c83fd2a3bac94db
Contents?: true
Size: 858 Bytes
Versions: 102
Compression:
Stored size: 858 Bytes
Contents
#!/usr/bin/env bats @test "basic" { # skip run bash acronym.sh "Portable Network Graphics" [ "$status" -eq 0 ] [ "$output" = "PNG" ] } @test "lowercase words" { skip run bash acronym.sh "Ruby on Rails" [ "$status" -eq 0 ] [ "$output" = "ROR" ] } @test "punctuation" { skip run bash acronym.sh "First In, First Out" [ "$status" -eq 0 ] [ "$output" = "FIFO" ] } @test "all caps words" { skip run bash acronym.sh "PHP: Hypertext Preprocessor" [ "$status" -eq 0 ] [ "$output" = "PHP" ] } @test "non-acronym all caps word" { skip run bash acronym.sh "GNU Image Manipulation Program" [ "$status" -eq 0 ] [ "$output" = "GIMP" ] } @test "hyphenated" { skip run bash acronym.sh "Complementary metal-oxide semiconductor" [ "$status" -eq 0 ] [ "$output" = "CMOS" ] }
Version data entries
102 entries across 102 versions & 1 rubygems