 04abc51d1f
			
		
	
	
		04abc51d1f
		
			
		
	
	
	
	
		
			
			- 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
		
			
				
	
	
		
			18 lines
		
	
	
		
			399 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			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
 |