 assertSame = require "../helpers/assert_same"
 
 
+# Paths to commands and data files.
+
 precious = "bin/precious.js"
+tis = "test/io/for/nativity.json"
+its = "test/io/out/nativity.json"
 jsontool = "node_modules/jsontool/lib/jsontool.js"
 jsontool0 = "#{jsontool} -o json-0"
+
 
 describe "$ `precious", ->
 


  describe "-`, being piped a stream of spec-conforming json", ->
    it "produces the expected output", ->
      proVals (proExec "cat test/io/for/nativity.json | #{precious} -")
            , (proExec "cat test/io/for/nativity.json | #{precious} stream")
            , (proExec "cat test/io/for/nativity.json | #{precious} s")
            , (proExec "cat test/io/out/nativity.json")
            , (results) ->
              assertSame results,
                parse: true

  # Object
  describe "o[bject]`, given a spec-conforming json string", ->
    it "produces the expected output", ->
      (proExec "cat #{tis}").then (input) ->
        proVals (proExec "#{precious} o '#{input}'")
              , (proExec "#{precious} object '#{input}'")
              , (proExec "cat #{its}")
              , (results) ->
                assertSame results,
                  parse: true
