brew/Library/Homebrew/test/cxxstdlib_spec.rb
Mike McQuaid 04abc51d1f
Cleanup use of CxxStdlib
- remove usage on macOS as we don't care about it there
- don't error out on incompatibility but still store stdlib on Linux
- remove (now) unused methods
2021-04-02 13:55:29 +01:00

18 lines
399 B
Ruby

# typed: false
# frozen_string_literal: true
require "formula"
require "cxxstdlib"
describe CxxStdlib do
let(:clang) { described_class.create(:libstdcxx, :clang) }
let(:lcxx) { described_class.create(:libcxx, :clang) }
describe "#type_string" do
specify "formatting" do
expect(clang.type_string).to eq("libstdc++")
expect(lcxx.type_string).to eq("libc++")
end
end
end