From 27bb3e95669cee50134c073e11f0326cf15f7661 Mon Sep 17 00:00:00 2001 From: Ufuk Kayserilioglu Date: Fri, 19 Apr 2024 00:56:17 +0300 Subject: [PATCH] Update Tapioca DSL compiler test expectations --- .../dsl/compilers/measured_rails_test.rb | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/test/tapioca/dsl/compilers/measured_rails_test.rb b/test/tapioca/dsl/compilers/measured_rails_test.rb index b4ad137..d56f65e 100644 --- a/test/tapioca/dsl/compilers/measured_rails_test.rb +++ b/test/tapioca/dsl/compilers/measured_rails_test.rb @@ -72,22 +72,22 @@ class Package include GeneratedMeasuredRailsMethods module GeneratedMeasuredRailsMethods - sig { returns(T.nilable(Measured::Weight)) } + sig { returns(T.nilable(::Measured::Weight)) } def minimum_weight; end - sig { params(value: T.nilable(Measured::Weight)).void } + sig { params(value: T.nilable(::Measured::Weight)).void } def minimum_weight=(value); end - sig { returns(T.nilable(Measured::Length)) } + sig { returns(T.nilable(::Measured::Length)) } def total_length; end - sig { params(value: T.nilable(Measured::Length)).void } + sig { params(value: T.nilable(::Measured::Length)).void } def total_length=(value); end - sig { returns(T.nilable(Measured::Volume)) } + sig { returns(T.nilable(::Measured::Volume)) } def total_volume; end - sig { params(value: T.nilable(Measured::Volume)).void } + sig { params(value: T.nilable(::Measured::Volume)).void } def total_volume=(value); end end end @@ -125,10 +125,10 @@ class Package include GeneratedMeasuredRailsMethods module GeneratedMeasuredRailsMethods - sig { returns(T.nilable(Measured::Weight)) } + sig { returns(T.nilable(::Measured::Weight)) } def minimum_weight; end - sig { params(value: T.nilable(Measured::Weight)).void } + sig { params(value: T.nilable(::Measured::Weight)).void } def minimum_weight=(value); end end end @@ -166,10 +166,10 @@ class Package include GeneratedMeasuredRailsMethods module GeneratedMeasuredRailsMethods - sig { returns(T.nilable(Measured::Length)) } + sig { returns(T.nilable(::Measured::Length)) } def total_length; end - sig { params(value: T.nilable(Measured::Length)).void } + sig { params(value: T.nilable(::Measured::Length)).void } def total_length=(value); end end end @@ -203,10 +203,10 @@ class Package include GeneratedMeasuredRailsMethods module GeneratedMeasuredRailsMethods - sig { returns(T.nilable(Measured::Volume)) } + sig { returns(T.nilable(::Measured::Volume)) } def total_volume; end - sig { params(value: T.nilable(Measured::Volume)).void } + sig { params(value: T.nilable(::Measured::Volume)).void } def total_volume=(value); end end end