Sha256: 76e30bec28b063e80499c51a4ed3d7ec01d95b7aff9102aeb83c4e1e21fb0d06

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

require 'spec_helper'

describe TranslationUnit do
	let(:tu) { Index.new.parse_translation_unit fixture_path("a.c")  }

	it "returns a list of diagnostics" do
		diags = tu.diagnostics
		diags.should be_kind_of(Array)
		diags.should_not be_empty
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffi-clang-0.1.0 spec/clang/translation_unit_spec.rb