Last active
December 16, 2015 14:39
-
-
Save alpaca-tc/5449889 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" autload/test.vim | |
function! test#initialize() | |
ruby << EOF | |
EOF | |
endfunction | |
" autoload/test/initialize.vim | |
function! test#initialize#expect_error() | |
call test#initialize() | |
ruby << EOF | |
require 'net/http' | |
#=> 標準モジュールはOK | |
require 'rspec' | |
#=> 標準モジュールじゃなければなんでも。 | |
EOF | |
endfunction | |
" :call test#initialize#expect_error() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
function! test#initialize#expect_error()でも
まだruby空間を一度も開いてない状態なら読み込める。