Skip to content

Commit 0e6e529

Browse files
author
Frank Natividad
committed
Modified quickstart spec test to check poliarity
1 parent 0a17905 commit 0e6e529

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

language/spec/quickstart_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
expect {
2727
load File.expand_path("../quickstart.rb", __dir__)
2828
}.to output(
29-
"Text: Hello, world!\n" +
30-
"Sentiment: 1.0, 0.6000000238418579\n"
29+
/Text: Hello, world!\nSentiment: 1.0/
3130
).to_stdout
3231
end
3332

0 commit comments

Comments
 (0)