diff --git a/index.js b/index.js index cbe7236..bc55729 100644 --- a/index.js +++ b/index.js @@ -1,9 +1,9 @@ -var greeting = ""; +var greeting = "Hello, everybody!"; var specialGuest = "Neil deGrasse Tyson" -var greetSpecialGuest = "" + specialGuest + "!"; +var greetSpecialGuest = "Hello, " + specialGuest + "!"; -var topic = "space"; +var topic = "Let's talk about space"; -var conversation = `${topic}`; +var conversation = "Let's talk about " + `${topic}`; diff --git a/test/index-test.js b/test/index-test.js index de7bc32..69ccbba 100644 --- a/test/index-test.js +++ b/test/index-test.js @@ -9,5 +9,5 @@ it('concatenates strings to greet a special guest in `greetSpecialGuest`', funct }) it('interpolates a string in `conversation`', function() { - expect(conversation).toEqual(`Let's talk about ${topic}.`) + expect(conversation).toEqual(`Let's talk about ${topic}`) })