+ diag ^. source `shouldBe` Just "bios"
+
+ describe "rename" $ do
+ it "works" $ pendingWith "HaRe not in hie-bios yet"
+ it "works on javascript" $
+ runSession "javascript-typescript-stdio" fullCaps "test/data/javascriptPass" $ do
+ doc <- openDoc "test.js" "javascript"
+ rename doc (Position 2 11) "bar"
+ documentContents doc >>= liftIO . (`shouldContain` "function bar()") . T.unpack