summaryrefslogtreecommitdiffhomepage
path: root/spec/handlers/header/function_handler_spec.rb
blob: b97abb63a5b9a02d7496bd025d86b5870af4d143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require_relative 'spec_helper'

describe YARD::MRuby::Handlers::Header::FunctionHandler do
  it "should register functions" do
    header_line <<-eof
      MRB_API void mrb_foo( void );
    eof
    expect(Registry.at('mrb_foo')).not_to be_nil

    # puts Registry.send(:thread_local_store).inspect
  end
end